home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv9.zip
/
vac22os2
/
ibmcobol
/
bin
/
iwzvcprp.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-05-14
|
1KB
|
35 lines
/*** Licensed Material - Program Property of IBM 5622-793 */
/*** (C) Copyright IBM Corp. 1983, 1996 */
/*** All Rights Reserved */
/*** US Government Users Restricted Rights - Use, duplication or disclosure */
/*** restricted by GSA ADP Schedule Contract with IBM Corp. */
'@ECHO OFF'
trace o
Arg infile rcfile options
cicsrc = 0
maxgoodrc = 4
environ = 'OS2ENVIRONMENT'
cicsset = VALUE('CICSSET',,environ)
tempdir = VALUE('TMP',,environ)
command = 'faaprpdc' infile options
/* set up CICS environment variables */
if cicsset = '' then call 'cicsenv'
address cmd 'SET COBWRK=' || tempdir
address cmd 'SET CICSCOBWORK=' || tempdir
address cmd command
cicsrc = rc
/* set the returncode from preprocessing. since iwzvcprp is executed in a */
/* different process than iwzvcomp, the returncode must be passed back to */
/* iwzvcomp in a file. The calling command file (iwzvcomp) has provided */
/* the name of the file to put the return code into. */
call lineout rcfile,cicsrc
call lineout rcfile
exit