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 Store the data for fixed length COBOL Programming 1
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top