Sorry I didn't reply sooner. I could not get it to work using a call. I had to use the command as follows:
01 BUFFER PIC X(38) VALUE SPACES.
01 BUFFER-LEN PIC S9(8) COMP VALUE 38.
10 CODJOB PIC X(8) VALUE 'CODJOB '.
10 DDNAME2...
RE: calling a cobol program from a clist and passing parm, here's an example:
RUN PROGRAM(BLAHBLAH) PLAN(BLAHBLAH) PARM('&SYSUID') +
LIBRARY('BLAH.BLAH.LOAD')
Has anyone here used lminit to create a temp work dataset within the dialog from a cobol program? If so do you have an example of the ISPLINK LMINIT call?
Thanks.
Do you know the syntax to invoke LMINIT in Cobol? I have manuals both paper and online but the examples don't work. As best as I can tell it is something like:
10 DSNVAR PIC X(8) VALUE SPACES.
10 SYSUT01 PIC X(8) VALUE 'SYSUT01 '.
CALL 'ISPLINK' USING ISP-LMINIT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.