Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


Copy GDG to GDG (one to one).

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
arrbee
Active Member


Joined: 24 Feb 2006
Posts: 147

PostPosted: Tue Apr 18, 2006 1:46 pm    Post subject: Copy GDG to GDG (one to one). Reply with quote

Hi Frank,

Is it possible to copy a GDG versions to another new GDG (one old generation to one new generation) using the SORT?

Please let me know.

TIA.
_________________
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
Back to top
View user's profile Send private message Send e-mail

kvenkat_b4u@yahoo.com
Member


Joined: 22 Apr 2006
Posts: 2
Location: chennai

PostPosted: Wed Apr 26, 2006 9:03 am    Post subject: GDG Reply with quote

HI,

WE CAN COPY OLDER VERSION OF GDG TO NEWER VERSION BY USING SORT

//STEP4 EXEC SORTD
//SORTIN DD DSN=DEMO.TEST.GDG.G0001V00,DISP=SHR
//SORTOUT DD DSN=DEMO.TEST.GDG(+1),
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1),RLSE),
// DCB=(LRECL=80,BLKSIZE=800,RECFM=FB),
// UNIT=SYSDA
//SYSIN DD *
SORT FIELDS=(1,5,CH,A)
/*
//SYSOUT DD SYSOUT=*
//
_________________
Love to learn ever..,
By,
venkat
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> 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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Control flow from one STEP to another 4 pkaushi 11749 Wed Nov 26, 2008 4:18 am
Anuj Dhawan View latest post
No new posts To copy a load module mem from one pds to another thru rexx 5 meena_cts 4362 Wed Mar 21, 2007 6:31 pm
meena_cts View latest post
No new posts CICs 5 vidhya 6266 Fri Nov 17, 2006 12:13 pm
hari.paramasivam View latest post
No new posts Hi every one 4 murali gummadi 3947 Fri Aug 11, 2006 12:53 pm
Reshmi Remadevi View latest post
No new posts A Really Nice One. Don't Miss the Moral. 0 arrbee 3168 Thu Mar 09, 2006 7:51 pm
arrbee View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB