IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get a JESMSGLOG from IOF to PS using Rexx


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karisurya

New User


Joined: 02 Aug 2007
Posts: 64
Location: Bangalore

PostPosted: Fri Jan 09, 2009 4:39 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Jan 09, 2009 6:09 pm
Reply with quote

Hi,

If I'm not wrong, IOF is an alternatice for SDSF.

IOF has a programmable interface for batch jobs. Please check with its manual.

This is for into
www.triangle-systems.com/IOF_Web_Brochure.pdf
Back to top
View user's profile Send private message
karisurya

New User


Joined: 02 Aug 2007
Posts: 64
Location: Bangalore

PostPosted: Mon Jan 12, 2009 3:26 pm
Reply with quote

After doing some research I got the solution, thanks for the support
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jan 12, 2009 8:04 pm
Reply with quote

Hi,

It would be good for others, looking for the similar problem/solution, if you share your solution.
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Thu Mar 26, 2009 6:37 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Mar 26, 2009 8:58 pm
Reply with quote

Unfortunately, all too often we encounter the attitude of, "Take the info and run". icon_mad.gif
Back to top
View user's profile Send private message
karisurya

New User


Joined: 02 Aug 2007
Posts: 64
Location: Bangalore

PostPosted: Thu Apr 02, 2009 3:46 pm
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Apr 02, 2009 7:54 pm
Reply with quote

Thanks for sharing your solution. Your feedback is appreciated.
Back to top
View user's profile Send private message
bala kalluri
Warnings : 1

New User


Joined: 08 Jan 2009
Posts: 21
Location: INDIA

PostPosted: Sat Apr 04, 2009 6:26 pm
Reply with quote

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
View user's profile Send private message
vimalonline
Warnings : 1

New User


Joined: 08 Apr 2006
Posts: 14
Location: In front of my PC

PostPosted: Wed Mar 14, 2012 2:05 am
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Wed Mar 14, 2012 4:19 am
Reply with quote

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.

icon_rolleyes.gif


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top