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

Want to store an error messages in a ps what we have to code


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Fri Jun 25, 2004 1:55 pm
Reply with quote

hi
usually when we submit a job we get messages in the spool area.
but if we want to store that messages in a ps what we have to code..?
Back to top
View user's profile Send private message
imvs

New User


Joined: 12 May 2004
Posts: 33

PostPosted: Fri Jun 25, 2004 2:26 pm
Reply with quote

chenchi,
The SYSOUT should point to your PS.

Code:
//SYSOUT  DD DSN=name of your PS
//           DISP=(NEW,CATLG,DELETE),
//           SPACE=(TRK,(1,1),RLSE),
//           DCB=(LRECL=133,RECFM=FBA,BLKSIZE=0)
Back to top
View user's profile Send private message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Mon Jun 28, 2004 2:23 pm
Reply with quote

hi imvs
i tried it and i got the solution.
thank u very much.
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 Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts writing into VSAM indexed tabl in PL1... PL/I & Assembler 8
No new posts Discrepancy between source code and o... COBOL Programming 7
Search our Forums:

Back to Top