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 purge jobs with return code 0 and ret... JCL & VSAM 6
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Excuting store procedure via JCL batch JCL & VSAM 1
No new posts Executing DB2 SQL store procedure via... DB2 0
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
Search our Forums:

Back to Top