CMS Command and Macro Reference (Rel 6 PLC 17 Apr81)
Page190(190 of 405)
START 4. It is recommended that the START command be issued immediately following the LOAD and INCLUDE commands. If the LOAD and INCLUDE were issued in an EXEC procedure, issue the START command from within the EXEC as well. DftSLI0740I EXECUTION BEGINS ••• is displayed when the designated entry point is validated. This message is suppressed if CMS/DOS is active and the option is specified in the FETCH command. DMSLI0021E ENTRY POINT 'name' NOT FOUND RC=40 DMSLI0055E NO ENTRY POINT DEFINED RC=40 176 VM/370 CMS Command and Macro Reference
STATE, STATEW STATE/STATEW Use the STATE command to verify the existence of a OS, or DDS file on any accessed disk; use the STATEi command to verify the existence of a CMS, JS, or DOS file on any accessed read/write disk. Tne formats of the STATE and STATEW commands are: r- -----, , {STATE } I STATEW L- I , fn is the filename of the file whose existence is to be verified. If fn is specified as *, the first file found satisfying the rest of the fileid is used. ft is the filetype of the file whose existence is to be verified. If ft is specified as *, the first file found satisfying the rest of the fileid is used. fm is the filemode of the file whose existence is to be verified. If fm is omitted, or specified as *, all your disks are searched. 1. If you issue the STATEi command specifying a file that exists on a Lead-only disk, you receive error message DMSSTT002E. 2. When you code an asterisk in the fn or ft fields, the search for the file is ended as soon as any file satisfies any of the other conditions. For example, the command: state * file executes successfully if any file on any accessed disk (including the system disk) has a filetype of FILE. 3. To verify the existence of an OS or DOS file when DOS is set JFF, you must issue the FILEDEF command to establish a CMS file identifier for the file. For example, to verify the existence of the OS file TEST. DATA on an OS C-disk you could enter: filedef check disk check list c dsn test data state check list whaLe CHECK LIST is the CMS filename and filetype associated with the OS data set name. 4. To verify the existence of an OS or DOS file when the CMS/DOS en,ironment is active, you must issue the DLBL command to establish a file identifier for the file. For example, to verify the existence of the DOS file TEST. DATA on a DOS C-disk, you could enter: dlbl check c dsn test data state file check wheLe FILE CHECK is the default CMS filename and filetype (FILE ddname) associated with the DOS file-ide Section 2. CMS :ommands 177