Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Referback DDName having concatenated files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Referback DDName having concatenated files
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: 8152
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 13, 2009 6:19 pm    Post subject:
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    Post subject:
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    Post subject:
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:

http://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    Post subject:
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    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 LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us