#BEGINBUCKET XXSASEDITX
#/ -------------------------------------------------
#BEGINDEFS
#/ -------------------------------------------------
#/EXCEPTIONFORMISSINGSYMBOL
#TABLECALL <MVSDSDATATABLE> KEY:MVS2BDSCODE
#SYMBOLCALLS SYSOUT;SSDDIR1;SSDDIR2;SSDDIR3;CUSTPRODQUAL;STAGEQUAL;ORDERENCODING;
#/ -------------------------------------------------
#BEGINSTATICINSTANCES
#/ ------------------------------------------------------------------
#STATICINSTANCE 
#/ -------------------------------------------------
#BEGININSTANCEQUALIFIERS
#/ -------------------------------------------------
#/ This doesn't apply for instances
#/ -------------------------------------------------
#BEGINPREFIX 
#/ -------------------------------------------------
//SASEDTX  EXEC PGM=SASEDTX,COND=(4,LT),PARM='-v9'            
//STEPLIB  DD DSN=[CNTLDSN].UTILIB,DISP=SHR                                                                                   
//SYSPRINT DD SYSOUT=[SYSOUT],DCB=BLKSIZE=121                  
//SYSTERM  DD SYSOUT=[SYSOUT],DCB=BLKSIZE=121
//SYSUT1 DD DATA,DLM='!!'   #/ This is added to have a no-harm set of lines to carry the //SYSUT2                                 
./  ADD  NAME=$$NULFIL         
* THIS FILE INTENTIONALLY EMPTY
!!
#/ We have to make sure that a bare minimum set of launcher and config files get copied
#/ up so that we can launch SAS with a lookthru.  We list them out individually here.
//  DD DATA,DLM='!!'                                             #/ Begin instream data with delimiter !!
./  ADD  NAME=SASTREXX                                    #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 #/ Specify XX dataset disp of SHR
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SASTREXX)   #/ Specify XX PDS dataset name and instance membername
//  DD DATA,DLM='!!'                                             #/ Begin instream data with delimiter !!
./  ADD  NAME=REXX99RC                                   #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 #/ Specify XX dataset disp of SHR
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](REXX99RC)   #/ Specify XX PDS dataset name and instance membername
//  DD DATA,DLM='!!'                                             #/ Begin instream data with delimiter !!
./  ADD  NAME=REXX99RX                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](REXX99RX)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=PROC99XP                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](PROC99XP)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNCCNTL                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNCCNTL)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNCPARM                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNCPARM)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNCSHEL                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNCSHEL)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNOCNTL                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNOCNTL)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNOPARM                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNOPARM)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=SPNOSHEL                                 #/ IEBUPDTE PDS membername assign
!!                                                               #/ End instream data with delimiter !!
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](SPNOSHEL)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=CLST99XC                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](CLST99XC)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=CFGBAT                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](CFGBAT)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=CFGCOMM                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](CFGCOMM)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=CFGTSO                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](CFGTSO)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=CFG99XF                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](CFG99XF)   
//  DD DATA,DLM='!!'                                             
./  ADD  NAME=TKMVSENV                                    
!!                                                               
//  DD DISP=SHR,                                                 
//  DSN=[CUSTPRODQUAL][STAGEQUAL].[XX:LOQUAL](TKMVSENV)   
#/ -------------------------------------------------
#BEGININSTANCE
#/ -------------------------------------------------
#BEGINSUFFIX 
#/ -------------------------------------------------
//*
//SYSUT2 DD DSN=&&EDITD,DISP=(NEW,PASS),                     
//       SPACE=(6160,(1000,250)),UNIT=[TMPUNI],                
//       DCB=(RECFM=FB,LRECL=80,BLKSIZE=6160)                
//SYSIN DD DSN=[CNTLDSN]($$SP4#4),DISP=SHR
//      DD DSN=[CNTLDSN](PRDMIT),DISP=SHR                                   
//      DD DSN=[CNTLDSN]($$PRRX),DISP=SHR
//*
//UPDTE    EXEC PGM=IEBUPDTE,PARM='NEW',COND=(4,LT)
//SYSIN    DD DSN=&&EDITD,DISP=(OLD,DELETE)          
//SYSPRINT DD SYSOUT=[SYSOUT]                      
//SYSUT2   DD DSN=[CNTLDSN],DISP=OLD
//*
#ENDBUCKET 