Page 1 of 1

Replacing some parameters in the member of a pds.

PostPosted: Thu Oct 20, 2016 12:28 am
by Surabhi
Hi all,
I have a requirement to changes some of the parameters in the memebers of a PDS.
As there more than 100 memebers in that PDS is it possible to make the change with some JCL instead of manually doing it.
Eg:- Ihave a PDS( MY.first.PDS) in this i have 100 memebers...in which i have a parameter ABC which i need to change to XYZ
Note:- i need a JCL for this can not use any of thr REXX code.

I have tried two jcl's no luck:-
A)
//STEP0100 EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=my.first.PDS1,
// DISP=SHR
//SYSIN DD *
$$DD01 UPDATE EDITALL=('01,abc,xyz)

Error:-REQUESTED MODULE FILEAID NOT FOUND
B)
//STEP EXEC PGM=IPOUPDTE,PARM=UPDATE
//SYSPRINT DD SYSOUT=*
//@TEST DD DSN=my.first.PDS1, DISP=SHR
//SYSIN DD *
abc<xyzI<
/*

Erros:-REQUESTED MODULE IPOUPDTE NOT FOUND

Thanks,
Surabhi.

Re: Replacing some parameters in the member of a pds.

PostPosted: Thu Oct 20, 2016 12:45 am
by Robert Sample
Have you talked to your site support group to find out if your site even has FILEAID installed? Or where to find IPOUPDTE?

Re: Replacing some parameters in the member of a pds.

PostPosted: Thu Oct 20, 2016 12:57 am
by Surabhi
Hi Robert,

If i navigate through the below path, i do have File-Aid option.
User panel->Invoke Programmer Tools Panel->FILE-AID

Re: Replacing some parameters in the member of a pds.

PostPosted: Thu Oct 20, 2016 1:05 am
by Robert Sample
So you need to find from your site support group what JCL you need to access File Aid. It does not have to be in the linklist so you may be REQUIRED to put a STEPLIB or JOBLIB statement to access it in batch.

Re: Replacing some parameters in the member of a pds.

PostPosted: Thu Oct 20, 2016 9:34 am
by Surabhi
Thank you so much Robert. Using Steplib worked. :)