home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
prgramer
/
rexx
/
rdebug
/
rdxwrap.kex
< prev
next >
Wrap
Text File
|
1993-03-25
|
1KB
|
34 lines
/*H* RDXWRAP.KEX 02-10-93 12:04*/
Parse Value 'COMMAND SET!COMMAND EXT' With dbcs'!'dbce
Parse Value 'COMMAND!COMMAND SOS!COMMAND X' With dbc'!'dbso '!'dbxx
parse arg origin dbmacro? dbprgmmacro dbdprgm'!'dbparms'!'dbdfile'!',
dbsource'!'dbinvoke'!'dbrun'!'dbsession'!'dbprgm
dbce '/OPSYS'
trace o?r /*T*/
dbme='rdxWRAP'
dbsys=opsys.1
if dbsys='OS/2' then dbsys='OS2' /*O*/
address KEDIT
if origin='' Then Return tell(dbme)
If origin='?' Then Return tell(dbme)
trace o?r /*T*/
if origin='/FINIS' then signal db8finis
DB8WRAP_UP:
dbxx dbdfile '(PROF RDPROFIL'
DB8FINIS:
dbxx dbrun '(NOPROF'; dbc 'QQUIT'
dbxx dbsource '(NOPROF'; dbc 'QQUIT'
dbxx dbprgmmacro '(NOPROF'; dbc 'QQUIT'
dbxx dbsession '(NOPROF'; dbc 'QQUIT'
dbxx dbinvoke '(NOPROF'
If dbmacro?=0 Then dbc 'QQUIT'
dbce '/NBF'
If dbsys='OS2' then do /*O*/
dbxx dbdfile '(NOPROF'; dbc 'QQUIT' /*O*/
'QQUIT' /*O*/
if nbfile.1>2 then dbc 'MSG' rdbmsg(190 nbfile.1 'remaining files') /*O*/
end /*O*/
return 0