Previous Topic: About TSSCFILENext Topic: Return Code Definitions


JCL Requirements

When creating a TSSCFILE job, you may specify one or more TSS LIST commands that are needed to extract the data required for your application. The following is a sample TSSCFILE job:

//TSSJOB ACID=SECADMIN,PASSWORD=ILUVTSS
//EXEC   PGM=TSSCFILE
  TSS LIST(ACIDS) DEPT(PAYROLL) DATA(PROFILE,XAUTH)
  TSS LIST(APPLMGR) DATA(ADMIN)
      .
      .
      .

When the TSSCFILE job completes, print (PRT) and punch (PUN) files are returned to your virtual reader:

Note: CA does not recommend the use of these internal-format records by your application programs. The format of these records are subject to change without notice.

If a program other than TSSREPT will be used to process the records, a second step is required to convert records to external-format TSSCFILE records in a CMS file once the PUN file has been returned to your reader. To perform this step, use the TSSCFILA command as follows:

TSSCFILA jobid <filename <filetype <filemode>>> <(REPlace>
jobid

The TSSCFILE job number that was assigned to the job by the server during execution. You can obtain the jobid by entering a “QUERY READER * ALL” command and examining the NAME field which will be in the form, TSSJnnnn. The value for nnnn should be used as the jobid. This parameter is required.

filename

The filename of the CMS file that is to contain the external-format TSSCFILE records. The default is TSSJnnnn where nnnn is the value specified for jobid.

filetype

The filetype of the CMS file that is to contain the external-format TSSCFILE records. The default is TSSCFILE.

filemode

The filemode of the CMS file that is to contain the external-format TSSCFILE records. The default is A.

REPlace

Indicates that if the CMS file already exists, it should be replaced.