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 REFER TO JESYSMSG of a JCL in the same JCL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kayelan
Warnings : 1

New User


Joined: 01 Dec 2006
Posts: 13
Location: frankfurt

PostPosted: Sat Mar 24, 2007 1:14 pm    Post subject: How to REFER TO JESYSMSG of a JCL in the same JCL?
Reply with quote

Hi,
I want to refer to JESYSMSG of a JCL while executing the same JCL..

For ex, i have 2 steps in a Job. Step1 writes some info in JESYSMSG and step2 of the same job needs to get that info from JESYSMSG. how to acheive this?

Can I get the temporary dataset allocated for writing that JESYSMSG in spool of that job?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Mar 24, 2007 5:07 pm    Post subject:
Reply with quote

I think that JESYSMSG is something that you might not be able to direct to a dataset. You might be able to access it via SDSF as a next step.
Back to top
View user's profile Send private message
dineshness

New User


Joined: 25 Dec 2006
Posts: 63
Location: Perambalur

PostPosted: Sun Mar 25, 2007 12:23 am    Post subject:
Reply with quote

Quote:
You might be able to access it via SDSF as a next step.


I dont understand the statement.

Dinesh.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Mar 25, 2007 1:23 am    Post subject:
Reply with quote

Easy and doable. You can use batch SDSF commands to access any job output, even within the same job. Look for many examples by searching this forum for "batch SDSF", or simply refer to the fine manual (the BATCH section).

O.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 25, 2007 4:56 am    Post subject:
Reply with quote

Hello,

I believe this is the same as your "other" post on the same question.

Please look at the reply to that message and do not post the same question multiple ways. . .

Thank you.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 25, 2007 4:58 am    Post subject:
Reply with quote

Hello,

If this is not the same question as the dynamic dsn, my bad and my apologies. . .
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to use refer to other step samiuddinarif JCL & VSAM 8 Sat Jun 26, 2010 2:24 am
No new posts Which manual to refer for INZUTILB rockish DB2 1 Wed Feb 10, 2010 9:29 pm
No new posts What does UNIT=DELM refer Josephine Jenitha I JCL & VSAM 2 Fri May 15, 2009 3:30 pm
No new posts How to read JESYSMSG? neeharika TSO/ISPF 16 Thu Apr 30, 2009 4:26 pm
No new posts How to refer unique dataset where las... Nehanisha Pandey JCL & VSAM 14 Mon Mar 30, 2009 6:12 pm


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