home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
HPTDEM.ZIP
/
SUB.SPF
< prev
next >
Wrap
Text File
|
1992-03-07
|
714b
|
20 lines
/* SUBDEMO.SPF (c) Copyright HeteroGenius Systems Ltd 1992 */
/* DEMOCMD -*- DEMOCMD -*- DEMOCMD -*- DEMOCMD */
'ISREDIT MACRO'
ARG luname .
IF luname = '' THEN luname = 'LONDON00'
/* Get the name of the file being edited */
'ISREDIT (editfile) = DATASET'
/* Simulate submission of jobstream to the host */
SAY "HBP221I Sending jobstream to" luname "*** SIMULATION ONLY ***"
'ISREDIT (jobcard) = LINE 1'
IF LEFT(jobcard,2) = '//' THEN
PARSE VALUE jobcard WITH ss +2 jobname .
ELSE
PARSE VALUE FILESPEC('N',editfile) WITH jobname '.'
jobid = jobname"(JOB"TIME('S')")"
DO 2000; delay = ' '; END
SAY "HBP248I Job" jobid "submitted"
EXIT 0
/* DEMOCMD -*- DEMOCMD -*- DEMOCMD -*- DEMOCMD */