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: 8201
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts NDM 300 files from mainframe to linux shreya19 All Other Mainframe Topics 2 Thu Oct 26, 2017 11:40 am

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