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
 
Dynamical cerating of GDG-generations as output files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Arkus

New User


Joined: 13 Apr 2008
Posts: 1
Location: Hamburg Germany

PostPosted: Mon Apr 14, 2008 12:48 pm    Post subject: Dynamical cerating of GDG-generations as output files
Reply with quote

Hi!

My requirement is:
A program processes an input file. Depending on the input data, numerous generations of a GDG-file should be created. The number of GDG-generations is not known as it depends on the data used as input.

My question:
is it possible, to have numerous generations of a GDG-file created without knowing the number of generations needed, e.g. without hardcoding it? Or in other words: is it possible to create a number of generations dynamically?

Thanks for your help!

Arkus
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Mon Apr 14, 2008 12:51 pm    Post subject: Reply to: Dynamical cerating of GDG-generations as output fi
Reply with quote

Yes it is possible, but not within jcl itself,

there are two ways
... dynamic allocation inside the program,
... prescan of Your data to generate a step to do the allocations..

but for such processing needs the best thing is to speak to Your storage support group,
after all it is one of their duties to define the proper standards and advice on the proper procedures
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 14, 2008 4:17 pm    Post subject:
Reply with quote

Without knowing your set up, as a storage guy I would start asking questions when numerous GDG gens started cropping up.

Would it not be better to use individual files for individual conditions / data, because at tleast that way you know what should be in a file, rather than in an unknown GDG gen.
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 Comparing 2 Files using Current time arunsoods DFSORT/ICETOOL 5 Fri Sep 22, 2017 6:00 pm
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
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 BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am

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