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

Which utility to be used


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

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 01, 2007 11:05 am
Reply with quote

Hi,

I am having 15 flat files and 15 control files. I am required to copy the 15 flat files as well as the control files into GDG. I am confused in one part.

Which utility (IEBGENER or MULTIGEN) shall I use to perform my task?

While using IEBGENER, I am required to create 15 steps. Moreover MULTIGEN is not a universally used utility (correct me please if I am wrong in this part).

Further can we use IEFBR14 to copy the same?
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Mon Oct 01, 2007 11:15 am
Reply with quote

You have two more options -
1. IDCAMS
2. SORT

What problems do you have about creating 15 steps?
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Mon Oct 01, 2007 11:17 am
Reply with quote

The main problem that i am having is the program is getting unnecessarily long.

Leaving aside this problem, we are not having any other issues.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Mon Oct 01, 2007 11:36 am
Reply with quote

swapnadeep.ganguly wrote:
The main problem that i am having is the program is getting unnecessarily long.

Leaving aside this problem, we are not having any other issues.

It may become long but definintely not 'Unnecessarily'.
Do let us know which option did you choose.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Oct 01, 2007 3:43 pm
Reply with quote

Hi swapnadeep,

Let me confirm two things:

1. When you say flat files, you are talking about QSAM files used in Minaframes?
2. 'Control Files' are also in the form of flat files or they differ?

If so, follow Abhijit's suggestion, and yeah, just to ease your effort in JCL creation, create the first step & 'repeat' that step 15 time (use block commnad RR15..RR) & then paste individual DSN, & keep that JCL for future references.


My shop also make use of MULTIGEN, but I used it to copy tape files on DASDs.


Hope this helps.[/i]
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 01, 2007 6:50 pm
Reply with quote

Question: to these 15+15 files have to be copied to one single version of a GDG? Remember the (+1) counts for the entire job.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Mon Oct 01, 2007 9:23 pm
Reply with quote

Hello,

Quote:
Further can we use IEFBR14 to copy the same?
No, you cannot. IEFBR14 does no input/output processing. It merely starts and stops.

If you need to copy a lot of data, it will take time.

How long do you consider unnecessarily long? How much data is being copied?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 01, 2007 9:28 pm
Reply with quote

Rich: When we dont have the requirements we can't help. TS refers to IEBGENER and a lot of steps; this looks like he wants more than one GDG-version and then he should notice the (+1) thing. If one version will do then simply concatenate the inputfiles. So.......we will await the answer from TS (if it comes at all) and then give advise. This IMHO.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Oct 03, 2007 9:12 am
Reply with quote

Hi,

I am not required to copy the enitre 15 + 15 files into 1 GDG. For each file, I am having a separate GDG base. In all, I am having 30 such bases.

Each file will be coping around 200k+ datas into GDG generations.
Back to top
View user's profile Send private message
Help-Me-Out

New User


Joined: 09 Dec 2006
Posts: 56
Location: Pune

PostPosted: Wed Oct 03, 2007 10:21 am
Reply with quote

Hi,

icon_surprised.gif Don't you think that, when u required to copy it to the 30 different GDG bases then you need to create all the steps and use the IDCAMS utility to copy into the GDG''s. are you really clear with your requirement icon_confused.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Oct 03, 2007 10:34 am
Reply with quote

Hello,

If i understand what you want to do, you have a one-time task to define 30 gdg base entries. Once the base entries are created, a copy of all 30 must be done periodically (daily, weekly, each run, etc).

Quote:
Each file will be coping around 200k+ datas into GDG generations
If each file has 200k+ data records, it should copy in a few seconds, which is not very much time.

If you don't want to write 30 sets of jcl, you could create one small PROCedure that has a symbolic parameter for the inpujt and output dataset names. You would have 30 EXECute statements, but only one set of actual jcl.

Rather than IDCAMS copies, i'd recommend using your SORT or IEBGENER.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Oct 03, 2007 12:53 pm
Reply with quote

Thank you Dick for your detailed explanation.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 5:23 pm
Reply with quote

Remember that in one job each step creating a GDG-version has to have it's own +-number. Step-1 (+1), step-2 (+2) and so on else you will end up with only one GDG-version: +1.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Oct 03, 2007 5:27 pm
Reply with quote

Hi,

If I am having different file names and corressponding GDG names, then I don't think I have to look into this matter.

To make the matter clear, I am writing the 15 QSAM files and 15 Control Files into 30 different GDG bases.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 5:29 pm
Reply with quote

ok, that wasn't clear to me yet.
Back to top
View user's profile Send private message
sahaanup

New User


Joined: 16 Feb 2006
Posts: 9

PostPosted: Wed Oct 03, 2007 5:46 pm
Reply with quote

Hi,

Instead of writing 30 steps for each datasets, you can use one Fileaid Step in which you can define those 30 different input file and 30 output files. So everything will be copied in one go.

here just u need to give the DD names appropriately: like for first dataset define the DD name as //DD01 DD .. and it's corresponding output file as //DD01O DD ..
Similarly for 2nd set of datasets define it as //DD02 and //DD02O .. Like-wise..

hope this will help u..

regards,
Anup
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Wed Oct 03, 2007 6:32 pm
Reply with quote

Hello,

Quote:
Thank you Dick for your detailed explanation.
You're welcome icon_smile.gif

Is your question now resolved? or might we be of other help?
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 Use Copy Utility DB2 7
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
Search our Forums:

Back to Top