View previous topic :: View next topic
|
Author |
Message |
hkalhor
New User
Joined: 20 May 2007 Posts: 15 Location: Iran
|
|
|
|
Hi
I write a cobol program that generate a JCL to be run automatically
but it gets ABEND S001
IEC020I 001-4,IPOUPDTE,STEPIOPU,SYSIN ,JES
IEC020I EROPT IS 'ABE' OR NOT SPECIFIED
when I tried to 'SJ' (in spool ) and run it again it works OK??
Please help. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
how do You expect to get any help with the INEXISTENT info provided ???
all You told is that ( your understanding )
the first time the job/program fails,
the second time it works.
IPOUPDTE is an IBM provided utility... how does it fit into Your cobol program ??? |
|
Back to top |
|
|
hkalhor
New User
Joined: 20 May 2007 Posts: 15 Location: Iran
|
|
|
|
we sometimes need to change IPO parameters automatically.
all of jcl lines are fixed and the parameter line (FROM and TO ) is dynamic in cobol program. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Suggest you post the SYSOUT from the failed Job and the JCL which you see with "SJ".
Search for IEC020I 001-4 and look for reason code 4. As has been indicated, without looking at what Job you have it's tough to give any direction. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
IEC020I 001-4,IPOUPDTE,STEPIOPU,SYSIN ,JES |
This is possibly a wrong length record.
What are the attributes of the STSIN dataset in the problem step?
You should post what was submitted along with the info generated. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
dick scherrer wrote: |
Hello,
Quote: |
IEC020I 001-4,IPOUPDTE,STEPIOPU,SYSIN ,JES |
This is possibly a wrong length record.
What are the attributes of the STSIN dataset in the problem step?
You should post what was submitted along with the info generated. |
Dick, I think this is a
//SYSIN DD *
type data set, not a data set built in a previous step. Note the JES in the message. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Steve,
Very possibly inline somehow.
But if it is, Not sure how it would have a wrong length record.
May help if we knew how the COBOL code generated the JCL . . . |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
dick scherrer wrote: |
...Very possibly inline somehow.
But if it is, Not sure how it would have a wrong length record.
May help if we knew how the COBOL code generated the JCL . . . |
Agreed. This is somewhat confusing |
|
Back to top |
|
|
|