Skip to main content

Adding Proclib folder in Workgrouping

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

I have a folder on the server and am trying to define the members there as members in a proclib. I have created a PDS called SYS1.PROCLIB dsorg=po, recfm=lseq, lrecl=80 -

I can add members to the pds using ADD ALL pointing to the PRC folder, but I am unable to define the proclib as a dependency folder in the workgroup.

I see that once I indicate that the dependency folder is a Proclib, the browse button is disabled. What am I doing wrong?

Resolution:

The problem here is that the Workgrouping isn't exactly clear on this point.

In order to add a PROCLIB PDS (or a PDS that contains JCL INCLUDES) one must follow these steps:

  - Allocate PDS's for files such as REXX, PRC and PRM files (LORINCE.REXXLIB,

   LORINCE.PROCLIB, and LORINCE.PARMLIB respectively) using the DCB attributes you

   described: DSORG=PO,RECMF=LSEQ,LRECL=80, then add their respective PDS

   members by a right-click and Add PDS Members to <pdsname>

- Next add the REXX, PROC and PARM PDS's to the Workgroup definitions via:

    Dependency Folder>right-click>Add Dependency Folder

- The next step is to change the folder Type to be 'proclib' when you do this, the

   Windows browse button goes gray (those three little dots to the right of the location)

-  Be careful, even though the next field says 'location' for a proclib folder it should

   probably say 'PDS', so enter the name of the PDS here in the Location field

    (enter LORINCE.PROCLIB, not c:\\mydir\\myapp\\prc)

- The Workgroup should now have a Proclib Folder added under the Dependency

   Libraries folder

- After compiling JCL that references the Include or Prc files, the file count will be

   shown in the Workgrouping

Old KB# 2579

#MFDS
#EnterpriseDeveloper