Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

CREATE-PROCEDURE-FILE - Create SAM file with BS2000 procedure

&pagelevel(5)&pagelevel

This statement creates a SAM file that contains a BS2000 procedure with reconstructed ENTER-JOB commands. The file contents and the format of the reconstructed commands are described below with the help of an example.

The statement can be used only after at least one //OPEN-JOBPOOL-FILE has been executed.

Format

CREATE-PROCEDURE-FILE                                                                                                                   

FILE-NAME = *STD-FILE-LINK / <filename 1..54 without-gen-vers>

,OVERWRITE = *NO / *YES

Operands

FILE-NAME = *STD-FILE-LINK / <filename 1..54 without-gen-vers>
Name of the procedure file to be written. The file must be open for write access.

FILE-NAME = *STD-FILE-LINK
The file name should be read from the Task File Table (TFT). The link name is PJOBPOOL; this name cannot be changed by the user.
The user can therefore specify the file name with /ADD-FILE-LINK LINK-NAME=PJOBPOOL, FILE-NAME=<filename> prior to running JMP.

FILE-NAME = <filename 1..54 without-gen-vers>
Fully qualified file name. Specification of a file generation or file generation group, or of a file name in “file(no)” format (no=version number) is not allowed.

OVERWRITE =
Causes or prevents overwriting of an existing file with the name specified in FILE-NAME=.

OVERWRITE = *NO
Prevents an existing file from being overwritten. The original file remains unchanged. No procedure file is created. The user sees the message JMP0012.

OVERWRITE = *YES
If a file with the same name already exists, it will be overwritten and a procedure file created.