View previous topic :: View next topic
|
Author |
Message |
ybhavesh Warnings : 1 New User
Joined: 17 Feb 2007 Posts: 46 Location: mumbai
|
|
|
|
Hi All
Can anyone explain me what is the error in below code:
Code: |
//STEP1 EXEC PGM=IDCAMS
//SYSIN DD *
DEFINE GDG(NAME(OSOP.BCB1O.TEST) -
LIMIT(10) -
NOEMPTY -
SCRATCH)
/*
|
Code: |
JESYSMSG
ICH70001I BCB1O LAST ACCESS AT 23:57:21 ON TUESDAY, MARCH 20, 2007
IEF236I ALLOC. FOR MYJOB STEP1
IEF237I JES2 ALLOCATED TO SYSIN
IDC4999I UABORT CODE 36
IEC130I AMSDUMP DD STATEMENT MISSING
IEF142I MYJOB STEP1 - STEP WAS EXECUTED - COND CODE 0016
IEF285I BCB1O.MYJOB.JOB00383.D0000101.? SYSIN
IEF373I STEP/STEP1 /START 2007079.2359
IEF374I STEP/STEP1 /STOP 2007079.2359 CPU 0MIN 00.01SEC SRB 0MIN 00.00S
IEF375I JOB/MYJOB /START 2007079.2359
IEF376I JOB/MYJOB /STOP 2007079.2359 CPU 0MIN 00.01SEC SRB 0MIN 00.00S
|
|
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Bhavesh, there's nothing wrong with the code. However, as was repeatedly mentioned in your other post, no one is going to be able to explain the RC=16 unless you include the messages from your SYSPRINT file. They should be pretty self-explanatory. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Did you look up the IDC4999I error? It is in the Fine Manuals linked to from this site.
You need to add a //SYSPRINT DD SYSOUT=* to your JCL |
|
Back to top |
|
|
ybhavesh Warnings : 1 New User
Joined: 17 Feb 2007 Posts: 46 Location: mumbai
|
|
|
|
Thanks
Dick |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
You're welcome |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Does the fine manual not include a SYSPRINT DD statement in any examples given. You are missing said DD in your JCL. |
|
Back to top |
|
|
timburkart
New User
Joined: 17 Mar 2007 Posts: 29 Location: USA
|
|
|
|
IDCAMS requires the AMSDUMP DD statement so all you need to do is add a //AMSDUMP DD SYSOUT=* to your JCL.
Regards,
Tim |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
IDCAMS requires the AMSDUMP DD statement so all you need to do is add a //AMSDUMP DD SYSOUT=* to your JCL. |
I'll disagree with this statement. The AMSDUMP DD will only show a program dump, and not the reason for the original RC16.
As both Dick and I have said above the cause of the RC16 problem is that the SYSPRINT DD statement is missing. |
|
Back to top |
|
|
timburkart
New User
Joined: 17 Mar 2007 Posts: 29 Location: USA
|
|
|
|
Dear expat:
Thank you for pointing out my error.
Regards,
tim |
|
Back to top |
|
|
|