Because
z/OS Job Control
Language has a parameter line length restriction of 100 characters,
you can use DDNames to identify filenames in object spawner parameters.
When a file pathname is eight characters or less, the file pathname
is first checked to see whether it matches a DDName. If so, the DDName
is used. If DDNames are not used for the configuration file and a
log file, you need to specify a configuration file and a log file
in the UNIX file system.
If you need to specify
more than 100 characters for command-line parameters, put the additional
parameters in a
z/OS data set or UNIX file. Reference the data set
or file by using the =<//DDN:PARMS parameter.
The following procedure
explicitly specifies the pathname for the configuration file and uses
a DDName to reference the log file in the command line parameters
for the object spawner.
//OBJSPAWN PROC PROG=OBJSPAWN,
// OPTIONS='-XMLCONFIGFILE /usr/lpp/SAS/objspawn.xml',
// OPT2='-LOGCONFIGLOC /usr/lpp/SAS/logconfig.xml'
//OBJSPAWN EXEC PGM=&PROG,REGION=512M,
// PARM='&OPTIONS &OPT2 =<//DDN:PARMS'
//STEPLIB DD DISP=SHR,DSN=SYS2.SAS.LIBRARY
//PARMS DD DISP=SHR,DSN=SYS2.OBJSPAWN.PARMS
//TKMVSENV DD DISP=SHR,DSN=SYS2.OBJSPAWN.TKMVSENV
//TKMVSJNL DD PATH='/tmp/objspawn/JNL.&LYYMMDD..&LHHMMSS..txt',
// PATHMODE=(SIRUSR,SIWUSR,SIRGRP,SIROTH),
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC)
The -XMLCONFIGFILE
parameter identifies the SAS Metadata Server system configuration
file that the spawner is to use.
The -LOGCONFIGLOC parameter
identifies the file for configuring the logging of useful information
for diagnosing connection problems. It is a good idea to include logging
until you are satisfied that everything is working correctly.