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

Referback DDName having concatenated files


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

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Mon Apr 13, 2009 6:14 pm
Reply with quote

I have 2 steps. First step has ddname DD1. Second step has ddname DD2. DD1 has 5 files concatenated. Now I want DD2 to be exactly same as DD1. ie. all concatenated files should also be available in DD2.
How do I do that?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 13, 2009 6:19 pm
Reply with quote

Using an INCLUDE would be the safest way to ensure they are the same.
Back to top
View user's profile Send private message
mtaylor

Active User


Joined: 20 Feb 2009
Posts: 108
Location: Kansas City

PostPosted: Mon Apr 13, 2009 7:31 pm
Reply with quote

You could try using the *.ddname syntax that refers to previous DD in a step (see page about 12-93 in the MVS JCL Reference). I don't know how this treats concatenated DDs though; it may not work or give erratic results.

I don't recommend using esoteric JCL features like this; because if you ever run a 3rd party tool on your JCL it may not be supported (I know my JCL parser doesn't support it).
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Apr 14, 2009 3:52 am
Reply with quote

Hi Parag,

You have to learn to use the Manuals. The link to them is at the top of this screen.

I found this in the INDEX in under 15 secs:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA2B680/12.1.6.7?SHELF=&DT=20080604022956&CASE=
Back to top
View user's profile Send private message
ParagChouguley

Active User


Joined: 03 Feb 2007
Posts: 175
Location: PUNE(INDIA)

PostPosted: Tue Apr 14, 2009 12:52 pm
Reply with quote

Thanks to all for your replies !

:-)
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top