Page 1 of 1

JCL to read from ULOG

PostPosted: Tue Apr 03, 2018 6:48 am
by Ozzy6786
Hi All,

Hope someone can help me with some JCL I have been trying to write. In a nutshell, I am trying some JCL that will copy a member called BPXPRM00 from SYS1.PARMLIB, rename it to BPXPRM$X, copy that member back to SYS1.PARMLIB than run a SYNTAXCHECK on that member. Then I want to get the output of that SYNTAXCHECK from the ULOG, put that data into another member called ULOGOUT then delete the contents of BPXPRM$X and write in it "This is a test".

Now I have managed to do all the above except for putting the output of the SYNTAXCHECK command into my member called ULOGOUT. Below I have attached screenshots of what I have done thus far.

REXX.png


JCL.png


And this is the output of running the REXX

REXXOUT.png


As you can see the REXX runs but it won't put the output into the member. I have googled it as much as possible and can't figure out why it won't work.

Please help!!!!!

Re: JCL to read from ULOG

PostPosted: Tue Apr 03, 2018 2:11 pm
by prino
Looking to get fired?

Which insane organisation allows user to copy members to "sys1.parmlib" willy-nilly?

Sheesh!

Re: JCL to read from ULOG

PostPosted: Tue Apr 03, 2018 4:51 pm
by NicC
Please do not post attachments - a simple cut'n'paste using the code tags will do. I cannot now cut the line from your post that I want to refer to.
Did you really name your Rexx program EXECIO as per your step 2 parm?

Re: JCL to read from ULOG

PostPosted: Tue Apr 03, 2018 6:26 pm
by willy jensen
Read the SDSF User's Guide chapter 'Browsing the system log with ISFLOG'

Re: JCL to read from ULOG

PostPosted: Wed Apr 04, 2018 4:24 am
by Ozzy6786
prino wrote:Looking to get fired?

Which insane organisation allows user to copy members to "sys1.parmlib" willy-nilly?

Sheesh!


:D :D just a job from my boss