MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do we display only the step and Return code

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
tdnj
Beginner


Joined: 10 Oct 2010
Posts: 6
Topics: 3

PostPosted: Sat Jan 28, 2012 1:33 pm    Post subject: How do we display only the step and Return code Reply with quote

Hi ,
Can you tel me the command just to display only the step and Return code
from a job spool?
(like doing a filter or exclude)


Thanks,
TDNJ
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Sat Jan 28, 2012 4:08 pm    Post subject: Reply with quote

Well, you have posted in the Application Programming section - which language are you going to use?
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
tdnj
Beginner


Joined: 10 Oct 2010
Posts: 6
Topics: 3

PostPosted: Sat Jan 28, 2012 8:06 pm    Post subject: Reply with quote

I am a mainframe cobol programmer. By question is after you submit a job and if the job failed in any step and especially if the job has several steps, and each step in the display is far apart due to lines inserted by the job, by doing a find on step, and hitting the PF5 key you could find all the steps in the job. But to see the RC of all steps one after another, there is a way(To exclude the lines inserted btween steps) That is what I am asking.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Jan 28, 2012 9:31 pm    Post subject: Reply with quote

tdnj,

Copy the Sysout using XDC command to a dataset and then you can use all the edit command of finding and excluding lines.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Jan 28, 2012 11:03 pm    Post subject: Reply with quote

there is a summary parge (the first dsid of jesmsgs)
which has each step and the return code, as well as an indication if the step was flushed.

there is no need to filter.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group