Page 1 of 1

How to replace Account Nos in Mass JCLs !!

PostPosted: Mon Sep 22, 2014 2:51 pm
by Alan1208
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 !!!

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

PostPosted: Mon Sep 22, 2014 3:34 pm
by enrico-sorichetti
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

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

PostPosted: Mon Sep 22, 2014 8:42 pm
by Alan1208
Thank you Enrico..

I thought, I might get some solution which can reduce no. of jobs needed. :( :(.

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

PostPosted: Mon Sep 22, 2014 9:35 pm
by enrico-sorichetti
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