It is simple!

get_default_proclibs: procedure
   address LINK "GSVXRXAA"          /* Initialize SYSVIEW environment */
address SYSVIEWE
   "COMMAND(PROCLIST) STACK(NO)"    /* List proc libraries */
   "COMMAND(XVEXTRAC DATA datasetname lib.)"    /* extract libs */
   "COMMAND(END)"                   /* Terminate SYSVIEW session */
   libs = ''
   do i = 1 to lib.0
      libs = libs lib.i
      end
   return strip(libs)


but I suppose the question is how does SYSVIEW get the PROCLIB concatenation?


-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Radoslaw Skorupka
Sent: Wednesday, June 5, 2024 3:37 PM
To: [email protected]
Subject: CVT and PROCLIB

Is there any way to obtain a list of PROCLIB concatenation programatically?
(I mean REXX)

--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to