cfSOFTWARE Contact Us Technical Support About Us cfSOFTWARE

corner
pcMAINFRAME Express
corner
cfSOFTWARE - pcMAINFRAME Express PCSCRIPT Sample
 

pcMAINFRAME Express™ Sample Commands

 

PCSCRIPT

A PCSCRIPT is used to control processing on the PC before and after transfer requests. A script can be used to perform a wide variety of PC tasks, including directory operations, file manipulation and program execution.

Return codes from prior steps can be tested to control logic flow. The user return code is set with the QUIT command.


  .
  .
  .
 PCSCRIPT
  IF EXIST 'C:\PCMFTEST\UPDATA\PCMXALL.1' THEN
    QUIT(0)
  ELSE
    QUIT(239)
  ENDIF
 /END
  .
  .
  .
 /*

 

This is a simple fragment of a command file. A more complete Sample Job Stream is available.