How to replace Account Nos in Mass JCLs !!



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

How to replace Account Nos in Mass JCLs !!

Postby Alan1208 » Mon Sep 22, 2014 2:51 pm

Hi All,

Please help me in below requirement -->

We need to replace existing 16 digit Card Nos in different files with 16 digit Test Card Nos.
We have created one master VSAM file which has Existing Card Nos along with Test Card Nos which will help us in replacing these card nos. Existing Card No has been kept key of this file.
First 6 digits of Existing Card Nos are same as first 6 digits of Test card nos. 7th and 8th digits of Test Card nos are 88.

Some details about the files (Challenges) in which we need to replace account Nos.
1) No. of files is huge, Around 1000 VSAM files and 10000 Flat Files.
2) For some of the VSAM files, existing Card No is Key.
3) Length of files can be different for different files.
4) Position of Existing Card no can be different in different files.
5) Record Format can also be FB or VB.

Please help me to get the best solution for it.

Thank you very much in advance !!!
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to replace Account Nos in Mass JCLs !!

Postby enrico-sorichetti » Mon Sep 22, 2014 3:34 pm

Please help me to get the best solution for it.


there is NO best solution ....
too many differences in the process

the huge number of files is NOT a challenge ... just more JCL to write and submit
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: How to replace Account Nos in Mass JCLs !!

Postby Alan1208 » Mon Sep 22, 2014 8:42 pm

Thank you Enrico..

I thought, I might get some solution which can reduce no. of jobs needed. :( :(.
Alan1208
 
Posts: 10
Joined: Tue Aug 05, 2014 1:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to replace Account Nos in Mass JCLs !!

Postby enrico-sorichetti » Mon Sep 22, 2014 9:35 pm

if the dataset names share some common pattern You might try to build automatically
( using a REXX script ) the relevant jcl snippets and submit them in batches

as usually all depends
is it a ONCE and FORGET task ( OK to do it just with donkey work )
if it could be repetitive, more planning an spending time on developing some tools might be worth considering
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post