Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us