|
cfSOFTWARE - pcMAINFRAME Express MAXRC/LASTRC/USERRC Sample
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.
|
Home | About Us |
Products | Tech Support
| Contact Us
cfSOFTWARE, Inc., 473 W. Northwest Hwy., Suite 2H, Palatine, IL 60067
800-366-8756 or 847-824-7180. Fax: 847-824-0930
Legal Information
|