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

How to REFER TO JESYSMSG of a JCL in the same JCL?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Sat Mar 24, 2007 5:07 pm
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
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: 2358
Location: Israel

PostPosted: Sun Mar 25, 2007 1:23 am
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

Moderator Emeritus


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

PostPosted: Sun Mar 25, 2007 4:56 am
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

Moderator Emeritus


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

PostPosted: Sun Mar 25, 2007 4:58 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JESYSMSG Message Log JCL & VSAM 1
No new posts how to use refer to other step JCL & VSAM 8
No new posts Which manual to refer for INZUTILB DB2 1
No new posts What does UNIT=DELM refer JCL & VSAM 2
No new posts How to read JESYSMSG? TSO/ISPF 16
Search our Forums:

Back to Top