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
 

 

S0C4 Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
elango_K

New User


Joined: 18 Aug 2011
Posts: 44
Location: India

PostPosted: Tue Oct 04, 2011 11:17 pm    Post subject: S0C4 Error
Reply with quote

I am trying to execute a job and it abends with S0C4error.

When I execute the following code it executes successfully.
Code:

//STEP005 EXEC JMRSCAN,OPTNLIBJ=SYS3.JMR.PPOPTION,OPTNMEMJ=PK46OPTN
//JMRIN    DD *                                                   
FUNCTION JOBNAME=PDP0U097 JOB=4949 SDATE=-0"  EDATE=-0"           
FUNCTION JOBNAME=PNF0H620 JOB=2718 SDATE=-0"  EDATE=-0"           
//JMRPRINT DD SYSOUT=*                                             
//*                                                             


However when I try to capture my output to a flat file it fails.

Code:

//STEP005 EXEC JMRSCAN,OPTNLIBJ=SYS3.JMR.PPOPTION,OPTNMEMJ=PK46OPTN
//JMRIN    DD DSN=PNF.TAPE.JMRIN2,DISP=SHR                         
//JMRPRINT DD DSN=PNF.TAPE.JMROU4,DISP=SHR                         
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Tue Oct 04, 2011 11:35 pm    Post subject:
Reply with quote

And what is the reason code associated with the abend?

And what are the DCBs of the data sets?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Oct 04, 2011 11:39 pm    Post subject: Reply to: S0C4 Error
Reply with quote

the chances of getting help with the nothing You posted are pretty slim

why not look at the JMR.... manuals to see what is expected as far as the DCBs are concerned

for the input dataset most probably dcb=(recfm=fb,lrecl=80,blksize=....)
for the output something along the lines of rcfm=FBA/FBM, lrecl=121/133, blksize a proper multiple

but the JMR... manuals will certainly be the best source of info
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 05, 2011 12:28 am    Post subject: Reply to: S0C4 Error
Reply with quote

Did the file OPEN successfully?

What program/utility are you executing?

More information is needed....

Mr. Bill
Back to top
View user's profile Send private message
elango_K

New User


Joined: 18 Aug 2011
Posts: 44
Location: India

PostPosted: Wed Oct 05, 2011 4:15 pm    Post subject:
Reply with quote

the abend detail is as follows.

Code:

JOB JMRTIME2         STEP CAPKSCAN        TIME 114343   DATE 11278    ID = 000
COMPLETION CODE      SYSTEM = 0C4      REASON CODE = 00000010                 
                                                                               
  PSW AT ENTRY TO ABEND   078D0000  00D47A84  ILC  04  INTC  0010             
PSW LOAD MODULE             ADDRESS = 00D42000  OFFSET = 00005A84             
NAME=IGG0193B                                                                 


Can you also share the link to JMR manuals.
Back to top
View user's profile Send private message
elango_K

New User


Joined: 18 Aug 2011
Posts: 44
Location: India

PostPosted: Wed Oct 05, 2011 4:22 pm    Post subject:
Reply with quote

File parameters:

Input file:
FB, Record length :130

Output file:
FBA,Rec Len 133
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 05, 2011 4:27 pm    Post subject:
Reply with quote

go back to the jesmsgs and find where in the step,
the file open was attempted.
there will be some kind of a message
for either: jmrin or jmrprint.
your 0C4 was probably a result of a bad open.

and if your site has a CA license for JMR, it does have the manuals,
or access to them.

by the way, do not in the future post what you considered abend details,
again.
thx
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Oct 05, 2011 4:28 pm    Post subject: Reply to: S0C4 Error
Reply with quote

still nothing to work on...

if the <thing> works with
Code:
.... dd *
.... dd sysout=*


and does not work with what look like preallocated datasets
look into the <dataset> differences , most probalbly DCB differences

but You were already told so and You just did not give a shit about it

no we cannot post the links or the material itself because it is copyrighted
ad that company does not have the IBM good manners to give free access to the manuals

but on the other side if Your organization is licensed for the JMS... <thing>
its manuals will certainly available somewhere
why not ask Your support about them
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Oct 05, 2011 4:31 pm    Post subject: Reply to: S0C4 Error
Reply with quote

follow on ...
for ... DD * datasets the LRECL is 80

did it strike You the idea that an lrecl 130 dataset for input might get into trouble ..
and yield the abend ???

oh i see, it did not, too much strain on Your neurons icon_cool.gif
Back to top
View user's profile Send private message
elango_K

New User


Joined: 18 Aug 2011
Posts: 44
Location: India

PostPosted: Wed Oct 05, 2011 7:14 pm    Post subject:
Reply with quote

All,

The problem was the parameters of input and output file as suggested.
I corrected the same and the issue was resolved.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Oct 05, 2011 7:34 pm    Post subject: Reply to: S0C4 Error
Reply with quote

Good to hear it is working - thank you for letting us know icon_smile.gif

d
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm


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