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

What is the CA7 command to see all the job which got abend


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Fri Mar 06, 2009 5:15 pm
Reply with quote

Hi,

1 ) Is Disp a Keyword parameter or Positional Parameter?

2) How can we read the 100th record(Total file has 100 records) without any key and in which mode both I/P(PS) & O/P(PS) file should be?

3) What is the CA7 command to see all the job which got abend in porduction.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Mar 06, 2009 5:30 pm
Reply with quote

1. I've other option - it's JCL DD Parameter.

2. This question is little weired - if a file is OPENed in OUTPUT mode - why would you like to READ it? If only option is sequential-read there is no way I can think of...
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Mar 06, 2009 5:43 pm
Reply with quote

1) DISP is a keyword parameter
Back to top
View user's profile Send private message
anandinmainframe

Active User


Joined: 31 May 2007
Posts: 171
Location: India

PostPosted: Fri Mar 06, 2009 5:56 pm
Reply with quote

Hi,
I would like to add one more question,
4) How can we declare a Comp-3 Variable for -500 Number.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Fri Mar 06, 2009 6:11 pm
Reply with quote

After searching icon_lol.gif I can tell for
Quote:
3) What is the CA7 command to see all the job which got abend in porduction.

LIST
but not necesseraly in production, but in the LPAR where the CA7 is running. icon_mad.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Mar 06, 2009 6:22 pm
Reply with quote

1) Easily found in the JCL manual (see manuals link at top of page)
2) Execute the READ statement 100 times.
3) LRLOG,ST=EXCP may do what you're asking
4) PIC S9(03) COMP-3 will hold values from -999 to +999
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Fri Mar 06, 2009 8:52 pm
Reply with quote

To see see which jobs are currently in abended state:

LIST,job=jobname

If the job names in your system are starting with say G,

Then you can give
LIST,job=G*

Thanks,
Ajay
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Fri Mar 06, 2009 9:36 pm
Reply with quote

solution already posted icon_sad.gif
Back to top
View user's profile Send private message
shailendra tripathi

New User


Joined: 05 Jan 2007
Posts: 5
Location: Pune

PostPosted: Thu Apr 09, 2009 6:10 pm
Reply with quote

3) What is the CA7 command to see all the job which got abend in porduction

You can use command

LQ,ST=RSTR
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top