JCL to read from ULOG



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

JCL to read from ULOG

Postby Ozzy6786 » Tue Apr 03, 2018 6:48 am

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!!!!!
You do not have the required permissions to view the files attached to this post.
Ozzy6786
 
Posts: 2
Joined: Tue Apr 03, 2018 6:31 am
Has thanked: 1 time
Been thanked: 0 time

Re: JCL to read from ULOG

Postby prino » Tue Apr 03, 2018 2:11 pm

Looking to get fired?

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

Sheesh!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: JCL to read from ULOG

Postby NicC » Tue Apr 03, 2018 4:51 pm

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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: JCL to read from ULOG

Postby willy jensen » Tue Apr 03, 2018 6:26 pm

Read the SDSF User's Guide chapter 'Browsing the system log with ISFLOG'

These users thanked the author willy jensen for the post:
Ozzy6786 (Wed Apr 04, 2018 4:25 am)
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: JCL to read from ULOG

Postby Ozzy6786 » Wed Apr 04, 2018 4:24 am

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
Ozzy6786
 
Posts: 2
Joined: Tue Apr 03, 2018 6:31 am
Has thanked: 1 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post