Endevors Rexx setup for DYNAMIC STEPLIB for ENDEVOR TSO / ISPF access
search cancel

Endevors Rexx setup for DYNAMIC STEPLIB for ENDEVOR TSO / ISPF access

book

Article ID: 233013

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

When using the REXX exec ENDEVORS to access Endevor from TSO/ISPF. I'm not sure how to set it up to use our DYNAMIC Steplib product.

Environment

z/os Endevot 18.1+

Cause

By default ENDEVORS is setup to use LINKLIST or STEPLIB to access Endevor loads.

Resolution

The REXX exec ENDEVORS requires changes in 3 places to add DYNAMIC STEPLIB. The first will remove the dynamic steplib the second will add dynamic steplib. 

The first change:

Change    

LPARLIST = "" 

to 

LPARLIST = "sysid1 sysid2" 

This will force to DYNAMIC STEPLIB for LPARS sysid1 and sysid2. This can also be done  when calling ENDEVORS. ENDEVORS allows some variables to be overridden at call time. 

For example:

"EX '"iprfx_ENDEVORS".EXEC(ENDEVORS)' ",                                                  
" ' LL(sysid1 sysid2) ' " 

Second Change:

/* Add command(s) here                                  */
/* and carry on to free the file as normal...           */
sa= "LSTEPLIB RESET NOMSG"                                
    "LSTEPLIB RESET NOMSG"                                

Look for the code  with "Add command(s) here". Then add the command to FREE any existing dynamic steplib.  "LSTEPLIB RESET NOMSG"  is a command to reset the steplib to nothing.

Third Change:

The next change also look for "Add command(s) here" . What was done here is the SAY commands were commented out. So I removed the */ after word BELOW

Then I added */ after LIBRARIES."

Then I added my dynamic steplib commands. The command is to add the DYNAMIC steplib for DD STEPNDVR.

I add the command to be saved to the variable SA and also issue the command. In my case the command was "LSTEPLIB STEP(STEPNDVR) APF NOMSG"

/* Add command(s) here and comment out the SAY commands      
   below                                                     
 SAY "THE CUSTOMIZATION OF ENDEVOR MAY BE INCOMPLETE."       
 SAY "LPAR" THISLPAR "IS IN THE LIST OF LPARS THAT",         
     "DO NOT HAVE THE ENDEVOR LIBRARIES IN THE",             
     "LINKLIST."                                             
 SAY "EITHER REMOVE" THISLPAR "FROM LPARLIST OR USE A",      
     "DYNAMIC STEPLIB UTILITY IN REXX EXEC ENDEVORS",        
     "ROUTINE LIBDSTAC TO ALLOCATE THE ENDEVOR",             
     "LIBRARIES." */                                                                                     
   sa= "LSTEPLIB RESET NOMSG"                                
   sa= "LSTEPLIB STEP(STEPNDVR) APF NOMSG"                   
       "LSTEPLIB RESET NOMSG"                                
       "LSTEPLIB STEP(STEPNDVR) APF NOMSG"                   
 iterate                  /*     go do next             */