View previous topic :: View next topic
|
Author |
Message |
anandinmainframe
Active User
Joined: 31 May 2007 Posts: 171 Location: India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
1) DISP is a keyword parameter |
|
Back to top |
|
|
anandinmainframe
Active User
Joined: 31 May 2007 Posts: 171 Location: India
|
|
|
|
Hi,
I would like to add one more question,
4) How can we declare a Comp-3 Variable for -500 Number. |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
After searching 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. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
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 |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
solution already posted |
|
Back to top |
|
|
shailendra tripathi
New User
Joined: 05 Jan 2007 Posts: 5 Location: Pune
|
|
|
|
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 |
|
|
|