Page 1 of 1

Print command in rexx

PostPosted: Thu Apr 24, 2014 12:05 am
by chinkump
Hi Experts,

What is the significance of below command.
jobnm,jobnbr,jobdsn and jobname is being populated in the program

ADDRESS TSO "output "jobnm"("jobnbr")",
"print('"jobdsn"("strip(jobname)")') keep"

When I am trying to execute the above function in a single line rexx exec it is throwing some Space abend.
ADDRESS TSO "OUTPUT Z103468#(JOB00069) PRINT(Z103468.JCL(JOBNAME)) KEEP"

Can some on pls help.

Thanks,
Chinkump

Re: Print command in rexx

PostPosted: Thu Apr 24, 2014 12:35 am
by Akatsukami

Re: Print command in rexx

PostPosted: Thu Apr 24, 2014 1:59 am
by Pedro
it is throwing some Space abend.

Show us the messages.

Wild guess: You need to allocate a larger data set to contain your output.

I would not save the job output (lrecl=133) to a JCL file (likely lrecl=80)

Re: Print command in rexx

PostPosted: Thu Apr 24, 2014 10:20 pm
by chinkump
Thanks experts...