What is a S0C4 error ?

jcl interview questions

Moderator: Moderator Group

Post Reply
User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

What is a S0C4 error ?

Post by Krishna » Sun Jul 19, 2009 2:13 pm

What is a S0C4 error in jcl?

User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

Post by Krishna » Sun Jul 19, 2009 2:13 pm

Storage violation error - can be due to various reasons. e.g.: READING a file that is not open, invalid address referenced due to subscript error.

ttram
Member
Posts: 3
Joined: Tue Jun 21, 2011 5:54 pm
Location: banglore

Post by ttram » Wed Jun 22, 2011 10:52 am

how we will rectify it..
i mean in real-time environment
what i mean in changeman or xpeditor we will rectify it...


sorry to ask this
i am new to mainframes...
searching for job
thulasiram

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Jun 22, 2011 1:54 pm

ttram wrote:how we will rectify it..
i mean in real-time environment
what i mean in changeman or xpeditor we will rectify it...
If you consider the two reasons Krishna has mentioned above -

1. You'll issue an OPEN beofre you try to READ the file.

2. By not using invalid reference in susbcript. Or SSRANGE is other choice if you want to use.
Regards,
Anuj

ttram
Member
Posts: 3
Joined: Tue Jun 21, 2011 5:54 pm
Location: banglore

hi

Post by ttram » Tue Jun 28, 2011 6:01 pm

thanks for ur feedback sir..
thulasiram

siva5546
Member
Posts: 3
Joined: Tue Aug 02, 2011 7:19 pm

Question

Post by siva5546 » Tue Aug 02, 2011 8:30 pm

In JCL, We have two job-steps in a job.How can we define one job in UID and second job in production?

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Tue Aug 02, 2011 9:48 pm

How does this question relate to the topic. . . :?

Please re-post your question in a more appropriate part of the forum and provide an explanatoin of what you are looking for.

If there are 2 steps in one job, they will run in the same "place". They will not "flip over" mid-way (let alone flip back later - not yet asked, but sometmes is).

What are you trying to accomplish?
Have a good one

3dtech
Member
Posts: 5
Joined: Thu Feb 25, 2016 1:11 pm
Contact:

Post by 3dtech » Thu Jul 06, 2017 5:46 pm

An Invalid address referenced due to subscript error
In a group Move the length of the receiving field was defined incorrectly
Moving variable length record which is larger than the receiving field’s length.
Read/Write a file which has not been opened in the program.
Read/Write a file after EOF.
Invalid parms passed through linkage section.
Used DD dummy with logic that moves high values to FD at end of read.
Tried to use CALL within COBOL SORT Input output procedure
Using GOBACK in COBOL SORT output procedure

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others