View previous topic :: View next topic
|
Author |
Message |
rajatbagga
Active User
Joined: 11 Mar 2007 Posts: 199 Location: india
|
|
|
|
Hello,
As a part of my requirement I am supposed to copy all the Panvalet members into a PDS. But there are some panvalet members which are having more then 8 charaters name and having first 8 chars as same.
Is there any JCL which I can use to copy all the Panvalet members to a PDS and if the first 8 chars are same for example FL01234DAA, FL01234DAB and FL01234DAC then it copies like FL01234DAA to FL01234D , FL01234DAB to FL01234$(some special chars) and FL01234DAC to FL01234#(some special chars).
And I also need a JCL which can write all the Panvalet member names in the sequencial dataset.
Thank You,
Rajat |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
To do what you want to do, use the Panvalet utility.
If your organization is licensed to use the product all of the material may be downloaded free from CA Support. |
|
Back to top |
|
|
dkoppit
New User
Joined: 23 Feb 2010 Posts: 17 Location: Omaha, NE
|
|
|
|
We just went to through our own PAN to PDS conversion last year. I believe we used the PAN#1 utility to do those greater than 8 renames. like this:
Code: |
//STP3 EXEC PGM=PAN#1
//PANDD1 DD DSN=panvalet.source,DISP=SHR
//PANDD2 DD DUMMY
//PANDD3 DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSPUNCH DD DUMMY
//SYSIN DD *
++RENAME TENCHARACS,TENCHARS
|
|
|
Back to top |
|
|
|