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: 10374
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: 8619
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 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 VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
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

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