JESGETBYDSN (FTP server) statement

Use the JESGETBYDSN statement to specify how to use the foreign file name when retrieving a file with a value of FILETYPE=JES.

When the JESGETBYDSN statement value FALSE is coded or set to the default value, the foreign file specified when retrieving a file with FILETYPE=JES is read from the MVS™ system, submitted to JES as a batch job, and its output is retrieved to the client.

When the JESGETBYDSN statement value TRUE is coded, the foreign file specified when retrieving a file with FILETYPE=JES is read as a JES spool file data set name, and its output retrieved to the client. The JES spool file data set name is the same format as an MVS data set name, but it is a case-sensitive JES data set name. The JES data set name for a job can be found using SDSF on the Job Data Set panel (JDS). See z/OS SDSF Operation and Customization for more information about JES data set names.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-JESGETBYDSN FALSE------.   
>>-+------------------------+----------------------------------><
   '-JESGETBYDSN--+-TRUE--+-'   
                  '-FALSE-'     

Parameters

FALSE
Specifies that the foreign file specified when retrieving a file with FILETYPE=JES is read from the MVS system, submitted to JES as a batch job, and its output is retrieved to the client. This is the default setting.
TRUE
Specifies that the foreign file specified when retrieving a file with FILETYPE=JES is read as a JES spool file data set name and its output is retrieved to the client.

Examples

The following example illustrates a JESGETBYDSN of FALSE:
JESGETBYDSN FALSE

Rule: The JESGETBYDSN statement only has meaning when FILETYPE=JES is specified and when JESINTERFACELEVEL 2 is coded in the FTP server's FTP.DATA file.

Related topics