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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Want to store an error messages in a ps what we have to code
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    Post subject:
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    Post subject:
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    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 Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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