//CONSINV JOB ('accounting info'),MSGLEVEL=(1,1),REGION=0M //* //* Create the consolidated inventory of products and service //* using the GIMXSID program introduced by SMP/E 3.2 //* //* To use this sample you will need to update: //* 1. The JOB card as appropriate for your installation. //* 2. Optionally, the parameters passed to the GIMXSID program: //* a. WAIT=10MIN specifies that GIMXSID should wait 10 minutes //* if an SMPCSI data set is unavailable because it is in //* use by another SMP/E task. This value may be set to //* a decimal between 0 and 9999. If the parameter is //* not specified, GIMXSID will wait 60 minutes. //* b. L=ENU specifies that GIMXSID should issue English messages. //* L=JPN, may optionally be specified to issue Japanese //* messages. //* 3. SMPXTOUT specifies where to write the new installed software //* report. This DD statement may specify a sequential data set //* of FB, LRECL 12560 OR a file in the UNIX file system. Make //* sure the appropriate SMPXTOUT DD is uncommented below based //* on your preference. If using a data set, change volumeto //* an appropriate VOLSER. The data set or file specified by //* SMPXTOUT must be transferred as binary data to your //* workstation so you can upload it to ShopzSeries (unless you //* have mapped the file system directory as a network drive on //* your workstation, in which case you can point ShopzSeries //* directly to the file during upload). //* 4. The information specified in SYSIN DD to specify the //* approriate GLOBAL CSI(s) and TARGET zone(s) //* a. The value on CSI= to specify a 1 to 44 character //* data set name for an SMPCSI containing a GLOBAL zone. //* At least one CSI= control statement must be included //* in SYSIN. Multiple CSI= control statements may be included. //* If you include multiple CSI= control statements, //* each must immediately precede the TARGET= control statements //* to which they refer. //* b. The value on TARGET= control statement to specify the //* 1 to 7 character target zone names for target zones //* defined in the GLOBAL zone that resides in the //* SMPCSI data set specified on the preceding CSI= control //* statement. The TARGET= control statement is optional. //* If it is not specified, GIMXSID will build the inventory //* for all target zones controlled by the global zone //* identified on the preceding CSI statement. //* //* Please refer to SMP/E Reference for complete information //* about the GIMXSID progam. //* //* //* //STEP1 EXEC PGM=GIMXSID,PARM='WAIT=10MIN,L=ENU' //SYSPRINT DD SYSOUT=* //SMPOUT DD SYSOUT=* //SMPXTOUT DD DSN=new_file,DISP=(NEW,CATLG), // DCB=(RECFM=FB,LRECL=12560,BLKSIZE=25120), // SPACE=(TRK,(10,10)),VOL=SER=volume //*SMPXTOUT DD PATH='/existing_directory/new_file', //* PATHOPTS=(OWRONLY,OCREAT,OTRUNC), //* FILEDATA=BINARY,PATHMODE=(SIRWXU,SIRWXG,SIRWXO) //SYSIN DD DATA,DLM=$$ CSI=data set name for an SMPCSI containing a GLOBAL zone TARGET=TGTZON1,TGTZON2 CSI=another data set name for an SMPCSI containing a GLOBAL zone TARGET=TGTZONA,TGTZONB $$