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

Dynamic datasets in JCL


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

New User


Joined: 17 May 2006
Posts: 1

PostPosted: Wed May 17, 2006 6:44 pm
Reply with quote

Hello.

I have a program (SQR) on DB2 that will be reading many lines of data, each line containing a unique id. I want this unique id to make up part of the dataset name (i.e. there will be one dataset for each line of data read). How do I do this in JCL, because at run time, I have no idea how many datasets will be created or what their names will be?

Thanks,
Tanya
Back to top
View user's profile Send private message
die7nadal

Active User


Joined: 23 Mar 2005
Posts: 156

PostPosted: Wed May 17, 2006 8:53 pm
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=10746&highlight=putenv
should give an idea of how PUTENV could be called to allocate any number of files dynamically.
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Tue Jul 25, 2006 1:24 pm
Reply with quote

Hi Tanya,

By any chance were you able to achieve what you wanted.....

I also want to do the same kind of thing.......

Could you please help me out with this.

Thanks.
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 Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
Search our Forums:

Back to Top