Hello Alejandro,
?
There is nothing wrong with the JCL, the problem comes from the compiler. I forgot about it when I posted my demo programs. The COBOL F compiler of DOS/VS is actually the one of DOS/360 and it expects the working files to be stored on a 2314 disk, while they are on a 3350 on DOS/VS. Moreover, the compiler uses SYS004 for a work file while it is logically assigned to the card reader by the XXINITBG job (after POWER is started), hence the C102I message you get.
?
For the programs to compile/run, you need to modify XXINITBG and patch the COBOL compiler so it will accept work files on a 3350. Here's what you can do:
?
1. Delete the current XXINIT jobs from the reader queue:
?
? ?PDELETE RDR,*XX
?
2. Submit the attached job 1-XXINIT.jcl to replace them.
?
3. Release the new XXINIT jobs:
?
? ?PRELEASE RDR,*XX
?
4. Submit the attached job 2-COBZAP.jcl to patch the compiler.
?
After that, you should be able to compile FCOBOL programs in BG.
?
Cheers,
?
Rene FERLAND, Montreal
?
P.S. -- The COBZAP job was written by Bill Carlborg, not me.