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

GDG error: AMSDUMP DD STATEMENT MISSING


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Wed Mar 21, 2007 12:06 am
Reply with quote

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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 21, 2007 12:20 am
Reply with quote

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

Moderator Emeritus


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

PostPosted: Wed Mar 21, 2007 12:24 am
Reply with quote

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
View user's profile Send private message
ybhavesh
Warnings : 1

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Wed Mar 21, 2007 12:46 am
Reply with quote

Thanks

Dick
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: Wed Mar 21, 2007 2:10 am
Reply with quote

You're welcome icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 21, 2007 1:28 pm
Reply with quote

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

New User


Joined: 17 Mar 2007
Posts: 29
Location: USA

PostPosted: Wed Mar 21, 2007 6:53 pm
Reply with quote

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

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Mar 21, 2007 7:02 pm
Reply with quote

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

New User


Joined: 17 Mar 2007
Posts: 29
Location: USA

PostPosted: Thu Mar 22, 2007 5:52 am
Reply with quote

Dear expat:

Thank you for pointing out my error.

Regards,

tim
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top