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
 

 

GDG error: AMSDUMP DD STATEMENT MISSING

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

New User


Joined: 17 Feb 2007
Posts: 47
Location: mumbai

PostPosted: Wed Mar 21, 2007 12:06 am    Post subject: GDG error: AMSDUMP DD STATEMENT MISSING
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

Moderator Team Head


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

PostPosted: Wed Mar 21, 2007 12:20 am    Post subject: Re: GDG error
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

Site Director


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

PostPosted: Wed Mar 21, 2007 12:24 am    Post subject:
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: 47
Location: mumbai

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

Thanks

Dick
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 Mar 21, 2007 2:10 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 21, 2007 1:28 pm    Post subject:
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: 30
Location: USA

PostPosted: Wed Mar 21, 2007 6:53 pm    Post subject: Re: GDG error: AMSDUMP DD STATEMENT MISSING
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: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 21, 2007 7:02 pm    Post subject:
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: 30
Location: USA

PostPosted: Thu Mar 22, 2007 5:52 am    Post subject: Re: GDG error: AMSDUMP DD STATEMENT MISSING
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    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 IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am


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