# SDSF Copy and File Create Utility

You can use the `SDSFCOPY` utility to create files from JES output for all the TIBCO mainframe products. Forward these files to TIBCO Support when you encounter errors and are asked to provide log and trace files.

The `SDSFCOPY` utility is located in the Substation ES CLIST data set. Use this utility to get output from an active or completed JOB in JES. By default, `SDSFCOPY` creates output files under your user ID. During execution, the utility can optionally create corresponding IBM TERSE formatted data sets.

The USERHLQ.CLIST data set contains the `REXX` member `SDSFCOPY`. To use `SDSFCOPY`, view the data set and type EX next to the `SDSFCOPY` member to initiate the execution.

For example, follow these steps:

1. In the ISPF Command Shell panel, type the following command to initiate the execution:

   `EX 'USERHLQ.CLIST(SDSFCOPY)'`

   TSO prompts with the following:

   `PLEASE ENTER JOBID FROM SDSF. E.G. STC12345 OR JOB12345.`

2. Supply the JOBID or started task ID.

   `JOB##### | STC#####`

   TSO prompts with the following:

   `Do you want to TERSE the files for internet transmission. Y/N`

3. Answer Y or N, and then press Enter.

   After a successful run, the files are copied as z/OS sequential files and named using this format:

   `USERID.SDSF.JOB##### | STC#####.F#`

   If the TERSE was requested, then the files are output as:

   `USERID.SDSF.JOB##### | STC#####.F#.TRS`

   You can FTP these files in binary format to TIBCO Support.

Copyright © TIBCO Software Inc. All rights reserved.