View previous topic :: View next topic
|
Author |
Message |
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
Hi,
Here is my requirement,I need to copy JESLOGMSG of a executed job from IOF to a Seq. file using Rexx.
Can any one help me with some ideas how i can acheive this?
Thanks,
Surya |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
Back to top |
|
|
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
After doing some research I got the solution, thanks for the support |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
It would be good for others, looking for the similar problem/solution, if you share your solution. |
|
Back to top |
|
|
bala kalluri Warnings : 1 New User
Joined: 08 Jan 2009 Posts: 21 Location: INDIA
|
|
|
|
My requirement is also the same. If you can share your solution, that would be better for me and for the others, who are searching for the same. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Unfortunately, all too often we encounter the attitude of, "Take the info and run". |
|
Back to top |
|
|
karisurya
New User
Joined: 02 Aug 2007 Posts: 64 Location: Bangalore
|
|
|
|
Please excuse me for not mentioning the solution i used to solve the problem
here part1 is the Jobid
Code: |
x = outtrap("out.")
"OUTPUT "part1" PRINT('TSXX.A9ZTPR.TEST.OUTPUT')"
"PRINT" */
"PRINT CLOSE"
x = outtrap(off) |
Using this code will get all of the IOF data to seq file.
Thanks,
Surya
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Thanks for sharing your solution. Your feedback is appreciated. |
|
Back to top |
|
|
bala kalluri Warnings : 1 New User
Joined: 08 Jan 2009 Posts: 21 Location: INDIA
|
|
|
|
Hi Surya,
I tried to run the code, but I am getting empty dataset. Pls advice should there be any change in above mentioned code to copy the jcl logs into a dataset. |
|
Back to top |
|
|
vimalonline Warnings : 1 New User
Joined: 08 Apr 2006 Posts: 14 Location: In front of my PC
|
|
|
|
Am also facing the issue mentioned by bala kalluri. Data set is blank.
karisurya wrote: |
Please excuse me for not mentioning the solution i used to solve the problem
here part1 is the Jobid
Code: |
x = outtrap("out.")
"OUTPUT "part1" PRINT('TSXX.A9ZTPR.TEST.OUTPUT')"
"PRINT" */
"PRINT CLOSE"
x = outtrap(off) |
Using this code will get all of the IOF data to seq file.
Thanks,
Surya
Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj |
|
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
resurrecting an 18 month old topic is not enough, you then go and resurrect a 3 year old topic asking for exactly the same information.
Gerry |
|
Back to top |
|
|
|