cfSOFTWARE Contact Us Technical Support About Us cfSOFTWARE

pcMAINFRAME Express™ Sample Commands

 

MAXRC / LASTRC / USERRC

These are constants that contain the return code values set during processing and available for RUNIF or SKIPIF testing.

MAXRC carries the highest non-user return code value.
LASTRC carries the return code of the last completed UPLOAD, DOWNLOAD or PCSCRIPT.

USERRC carries the value set by the last QUIT command executed in a PCSCRIPT.

  


. . . UPLOAD SKIPIF(USERRC,EQ,239) DEV(ESDS) DDNAME(PCMTEF2) PCFILE(C:\PCMFTEST\UPDATA\PCMXALL.1)
DOWNLOAD RUNIF(MAXRC,EQ,0) DEV(ESDS) DDNAME(PCMTEF3) PCFILE(PCFILE.TXT) .
.
.
/*



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

Site designed and maintained by Web1 Digital Interface Inc.