MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Appending to full GDG

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
jld49
Beginner


Joined: 15 May 2006
Posts: 3
Topics: 3
Location: UK

PostPosted: Mon Mar 19, 2007 11:13 am    Post subject: Appending to full GDG Reply with quote

Can someone tell me where the new data will go in the following? Will it append to the last (i.e. the latest) member of the GDG? OUTFILE is defined as a 10-member GDG.
Code:

//*-- APPEND DAILY INPUT TO UPLOAD
//S020     EXEC SUPCPYP,COND=(0,NE)
//INFILE     DD DSN=JLD.INPUT,DISP=SHR
//OUTFILE    DD DSN=JLD.OUTPUT,DISP=MOD

thanks.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12385
Topics: 75
Location: San Jose

PostPosted: Mon Mar 19, 2007 11:18 am    Post subject: Reply with quote

jld49,

It will append to the latest generation if at least there is one generation of JLD.output. If there are NO generations then the job will fail.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Tue Mar 20, 2007 3:16 am    Post subject: Reply with quote

You have not specified either the relative or absolute GDG number.

The job will probably fail JCL error. Have you tried it ?
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group