Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Scan multiple Panvalet libraries in batch using PAN#8

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Wed Jul 25, 2007 2:14 am    Post subject: Scan multiple Panvalet libraries in batch using PAN#8
Reply with quote

I am attempting to scan multiple Panvalet libraries in batch using PAN#8. However, it only scans the first library and then quits. Our Panvalet version is 14.5. Here is the JCL:

Code:

//PAN8B  EXEC PGM=PAN#8,PARM='OPEN=INP'         
//PANDD1   DD  DISP=SHR,DSN=MVD.TECH.PANVALET   
//PANDD11  DD  DISP=SHR,DSN=MVD.QFIX.PANVALET   
//PANDD12  DD  DISP=SHR,DSN=MVD.PSTG.PANVALET   
//PANDD13  DD  DISP=SHR,DSN=MVD.DRVS.PANVALET   
//PANDD14  DD  DISP=SHR,DSN=MVD.MSYS.PANVALET   
//PANDD15  DD  DISP=SHR,DSN=MVD.SYST.PANVALET   
//PANDD16  DD  DISP=SHR,DSN=MVD.MAIN.PANVALET   
//PANDD17  DD  DISP=SHR,DSN=MVD.ESYS.PANVALET   
//PANDD18  DD  DISP=SHR,DSN=MVD.DRVT.PANVALET   
//PANDD19  DD  DISP=SHR,DSN=MVD.REGI.PANVALET   
//PANDD20  DD  DISP=SHR,DSN=MVD.INTG.PANVALET   
//PANDD21  DD  DISP=SHR,DSN=MVD.MSYS.PANVALET   
//PANDD22  DD  DISP=SHR,DSN=MVD.QFIX.PANVALET   
//PANDD23  DD  DISP=SHR,DSN=MVD.PSTG.PANVALET   
//PANDD2   DD  SYSOUT=*   
//SYSIN    DD  *               
++CONTROL 2887                 
++SCAN *,'DLCAMVAR2K'         
/*                             


And yes, I have read several manuals and although I have copied this code, it doesn't work.
Back to top
View user's profile Send private message

socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Thu Aug 02, 2007 5:19 am    Post subject: Re: Panscan using PAN#8 Batch
Reply with quote

Well, with absolutely no thanks to CA (why do they bother having you ask them when they never answer????), I found the answer.

It can't be done.

PAN#8 is set up to ONLY scan one library at a time, so my JCL had to execute a step for each and every library I wanted scanned. At least through the magic of DISP=(MOD,CATLG,CATLG), I was able to create just one output file.


Here's what I had to do (20 times...... icon_sad.gif )
Code:

//*******************************                                       
//PAN8S01 EXEC PGM=PAN#8,PARM='OPEN=INP'                               
//PANDD1   DD  DISP=SHR,DSN=MVD.TECH.PANVALET                           
//SYSPRINT DD  DSN=MVD.MV603.PANSCAN.RESULTS,                           
//         DISP=(MOD,CATLG,CATLG),UNIT=DISK,SPACE=(TRK,(50,50),RLSE)   
//SYSIN    DD  DSN=MV603.INCLUDE.CNTL(PANSCANT),DISP=SHR               
//*******************************                                       
//PAN8S02 EXEC PGM=PAN#8,PARM='OPEN=INP'                               
//PANDD1   DD  DISP=SHR,DSN=MVD.SYST.PANVALET                           
//SYSPRINT DD  DSN=MVD.MV603.PANSCAN.RESULTS,                           
//         DISP=(MOD,CATLG,CATLG),UNIT=DISK,SPACE=(TRK,(50,50),RLSE)   
//SYSIN    DD  DSN=MV603.INCLUDE.CNTL(PANSCANT),DISP=SHR               


So here you go - I hope this saves someone else hours of research and testing!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts CICS TS 5.3 migr after DFHCSDUP UPGRA... Kyle Carroll CICS 6 Wed Aug 31, 2016 10:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us