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: 8344
Location: Dubuque, Iowa, 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 INVALID RECFM FOR DDNAME SYSLIN AND C... sandeep kumar302 All Other Mainframe Topics 7 Fri Apr 27, 2018 6:07 pm
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am
No new posts How to build one file from two input ... daniele DFSORT/ICETOOL 5 Tue Feb 27, 2018 6:45 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

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