Re: JCL, Cobol and "Call Parameters"




And I have the Parameters. But how to handle those filenames ?


cob32 -iv -C ASSIGN=EXTERNAL -o VSB390M.int VSB390M.cbl

and in the shell script

export SYS010UR3203S=filename.txt

does the job. Of course the ACCEPT has to be modified to

SELECT LISTENDATEI
ASSIGN TO SYS010UR3203S.
* ASSIGN TO SYS010-UR-3203-S.

Because Unix does not want "-" in Environmentvariable names.

.