I just want to know that is there any procedure or function which can be used to browse/access the Panvalet members using the panvalet PDS. IF anyone has any idea on this, it would be really helpful. Thanks!!
The Panvalet panlib is not a PDS but it is a proprietary dataset. You can copy panvalet members from the panlib over to a PDS. You can also browse the panvalet panlib using the Panvalet/ISPF interface.
I will need to find a REXX example, however it is easier to browse the panlib if you have the Panvalet/ISPF interface.
Thanks for prompt response.Actually the requirement is to expand the copybooks or sub programs whenever user will place cursor on 'COPY' or 'CALL' verb in the main program and press specified PF key.
I have written the rexx code for the same; however it is only working on the PDS (DSORG=PO).I have tried to execute the same code with members maintained in Panvalet(***.PANB.SOURCE) , but its not working and getting abend as "Dataset is allocated to another job or user".
Please advise how should I proceed.Thanks!!
I suggest you copy the members from your Panvalet panlib to a PDS and then you can run your REXX program.
You might also look into using the "Panvalet Access Method" (PAM), documented in Chapter 11 of the "System Management Guide", release 14.6.
I have only used PAM in batch mode, but you may be able to adapt your REXX application to do so, as well.
May you have continued good luck!
You could also try using subsys PANV. to print the member from the panlilb
Here is an example of the JCL.
//* ========> PRINT THE MEMBER WITH PANV
//PRNT EXEC PGM=IEBGENER
//STEPLIB DD DSN=LIBSYS.PANV.V14R6.LVL1.CBA3LINK,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=LIBSYS.PANV.V14R6.LVL1.PANLIB(CICSMAP),
//SYSIN DD DUMMY
//SYSUT2 DD DSN=HOBEL01.OUTPUT,DISP=SHR