View previous topic :: View next topic
|
Author |
Message |
elango_K
New User
Joined: 18 Aug 2011 Posts: 44 Location: India
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
And what is the reason code associated with the abend?
And what are the DCBs of the data sets? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Did the file OPEN successfully?
What program/utility are you executing?
More information is needed....
Mr. Bill |
|
Back to top |
|
|
elango_K
New User
Joined: 18 Aug 2011 Posts: 44 Location: India
|
|
|
|
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 |
|
|
elango_K
New User
Joined: 18 Aug 2011 Posts: 44 Location: India
|
|
|
|
File parameters:
Input file:
FB, Record length :130
Output file:
FBA,Rec Len 133 |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
elango_K
New User
Joined: 18 Aug 2011 Posts: 44 Location: India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for letting us know
d |
|
Back to top |
|
|
|