Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Which utility to be used

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Which utility to be used
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: 685
Location: Earth

PostPosted: Mon Oct 01, 2007 11:15 am    Post subject:
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    Post subject:
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: 685
Location: Earth

PostPosted: Mon Oct 01, 2007 11:36 am    Post subject:
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

Senior Member


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

PostPosted: Mon Oct 01, 2007 3:43 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 01, 2007 6:50 pm    Post subject:
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

Site Director


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

PostPosted: Mon Oct 01, 2007 9:23 pm    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 01, 2007 9:28 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: Which utility to be used
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

Site Director


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

PostPosted: Wed Oct 03, 2007 10:34 am    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 5:23 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Oct 03, 2007 5:29 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Oct 03, 2007 6:32 pm    Post subject:
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    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 Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm
No new posts DXT unload utility - DVRE0000 mistah kurtz DB2 1 Thu Jul 07, 2016 4:56 pm
No new posts How to suppress retun code of partil ... mkk157 DB2 9 Fri May 27, 2016 6:59 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us