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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: What is the CA7 command to see all the job which got abend
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

Senior Member


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

PostPosted: Fri Mar 06, 2009 5:30 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 06, 2009 5:43 pm    Post subject:
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    Post subject: Reply to: What is the CA7 command to see all the job which g
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: 456
Location: Belgium

PostPosted: Fri Mar 06, 2009 6:11 pm    Post subject:
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Mar 06, 2009 6:22 pm    Post subject:
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: 205
Location: Bangalore

PostPosted: Fri Mar 06, 2009 8:52 pm    Post subject:
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: 456
Location: Belgium

PostPosted: Fri Mar 06, 2009 9:36 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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