Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to get a JESMSGLOG from IOF to PS using Rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: How to get a JESMSGLOG from IOF to PS using Rexx
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: 788
Location: Chennai, India

PostPosted: Fri Jan 09, 2009 6:09 pm    Post subject:
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
http://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    Post subject:
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

Senior Member


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

PostPosted: Mon Jan 12, 2009 8:04 pm    Post subject:
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    Post subject: Reply to: How to get a JESMSGLOG from IOF to PS using Rexx
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: How to get a JESMSGLOG from IOF to PS using Rexx
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    Post subject:
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: 1703
Location: Australia

PostPosted: Wed Mar 14, 2012 4:19 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
This topic is locked: you cannot edit posts or make replies. Rexx to Grab ISMF Information. upendrasri All Other Mainframe Topics 16 Sun Nov 26, 2017 12:35 am
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us