View previous topic :: View next topic
|
Author |
Message |
ayansau
New User
Joined: 22 Jun 2007 Posts: 42 Location: Chennai
|
|
|
|
Quote: |
--------DDNAME---STEP-----PRSTEP---STAT-ACT-C-GRP-D-SIZE-U-DEST----------------
_ 1 LOG * X 2 L
_ 2 JCL * X 542 L
_ 3 MESSAGES * X 690 L
_ 4 SYSOUT PSTY0010 JSTY0010 X
_ 5 SYSABEND PSTY0010 JSTY0010 X |
How can i convert this MESSAGES to a dataset |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi Ayansau,
U can do it by giving XDC against JESMSGLG it.Please let me know if
I have not understood ur question |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
ayansu,
Quote: |
How can i convert this MESSAGES to a dataset |
Your statement is not clear. Please explain your requirement clearly. |
|
Back to top |
|
|
priyamnavada
New User
Joined: 24 Dec 2005 Posts: 52 Location: hyderabad
|
|
|
|
Is that a SPOOL output? If yes, type xdc in front of messages in spool, later it promts for the dataset name. type the name and mention the disp parameter as new, later press enter.
you will get the output in that new dataset. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
or search about using SDSF in batch...you'll find something like this:
Code: |
//SDSF EXEC PGM=SDSF
//SYSPRINT DD SYSOUT=*
//REPORT DD DISP=(,CATLG),DSN=yourfilehere,
// SPACE=(CYL,(1,1)),RECFM=FB,BLKSIZE=0
//SYSOUT DD SYSOUT=*
//ISFOUT DD SYSOUT=*
//ISFIN DD *
ST yourjobhere
FILTER JOBID = ????????
FIND ???????? FIRST
++?
FIND 'JESYSMSG'
++S
PRINT FILE REPORT
PRINT 1 5
PRINT CLOSE |
|
|
Back to top |
|
|
ayansau
New User
Joined: 22 Jun 2007 Posts: 42 Location: Chennai
|
|
|
|
priyamnavada wrote: |
Is that a SPOOL output? If yes, type xdc in front of messages in spool, later it promts for the dataset name. type the name and mention the disp parameter as new, later press enter.
you will get the output in that new dataset. |
Is this XDC a client specific command? Its not working for me. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
XDC is an SDSF Action Character, and is well documented in the fine manual.
O. |
|
Back to top |
|
|
priyamnavada
New User
Joined: 24 Dec 2005 Posts: 52 Location: hyderabad
|
|
|
|
ayansau wrote:
Quote: |
Is this XDC a client specific command? Its not working for me.
|
did you try like this?
xdc should be typed in front of messages of a particular job instead not infront of a job's output. |
|
Back to top |
|
|
ayansau
New User
Joined: 22 Jun 2007 Posts: 42 Location: Chennai
|
|
|
|
when i am trying to execute this program, its telling that could not find the program
Code: |
E1 8 DSS20006E MEMBER 'SDSF' WAS NOT FOUND.
E2 8 DSS20105E 'ISDXU03S SDSF': STEP WOULD ABEND, CODE 'S806'. |
|
|
Back to top |
|
|
ayansau
New User
Joined: 22 Jun 2007 Posts: 42 Location: Chennai
|
|
|
|
I have used the command as:
Code: |
--------DDNAME---STEP-----PRSTEP---STAT-ACT-C-GRP-D-SIZE-U-DEST----------------
_ 1 LOG * HELD X 1 H 32 L CBMDNODE
_ 2 JCL * HELD X 1 H 268 L CBMDNODE
XDC 3 MESSAGES * DONE X 1263 L CBMDNODE
_ 4 SYSOUT JSTY0010 DONE X
_ 5 SYSOUT JSTY0020 HELD X 1 H 59 L CBMDNODE |
no promt is coming... |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
The output is not HELD. Try it at the SYSOUT. |
|
Back to top |
|
|
|