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

IEC020I EROPT IS 'ABE' OR NOT SPECIFIED


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hkalhor

New User


Joined: 20 May 2007
Posts: 15
Location: Iran

PostPosted: Thu Mar 13, 2014 3:40 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Mar 13, 2014 3:56 pm
Reply with quote

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
View user's profile Send private message
hkalhor

New User


Joined: 20 May 2007
Posts: 15
Location: Iran

PostPosted: Thu Mar 13, 2014 4:05 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Mar 13, 2014 4:18 pm
Reply with quote

You still provided absolutely nothing helpful for the problem determination

read here about the abend, the causes, the resolution

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2H792/CCONTENTS?SHELF=IEA2BK91&DN=SA22-7626-19&DT=20090112020001
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Sat Mar 15, 2014 11:16 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 16, 2014 3:32 am
Reply with quote

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
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Sun Mar 16, 2014 4:53 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Mar 16, 2014 5:59 am
Reply with quote

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
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Sun Mar 16, 2014 8:09 am
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts IEC020I EROPT IS 'ABE' OR NOT SPECIFI... DFSORT/ICETOOL 24
No new posts +IEC020I EROPT IS 'ABE' OR NOT SPECIFIED PL/I & Assembler 2
No new posts Specify EROPT=ACC, in DCB parameter JCL & VSAM 2
No new posts Use of EROPT in DCB parameter JCL & VSAM 2
Search our Forums:

Back to Top