home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
JLUT531.ZIP
/
HLP.ZIP
/
GC.HLP
< prev
next >
Wrap
Text File
|
1994-05-11
|
3KB
|
84 lines
┌─────────────────────────────────────────────────────────────────────────────┐
│ Option: GC GET COMMANDLINE FROM FILE......................................│
└─────────────────────────────────────────────────────────────────────────────┘
Syntax
═══════════════════════════════════════════════════════════════════════════════
JLUTIL /GC [Parameters] [-Switches]
═══════════════════════════════════════════════════════════════════════════════
Switch Description
═══════════════════════════════════════════════════════════════════════════════
No Switches available at this time.
═══════════════════════════════════════════════════════════════════════════════
Param Description
═══════════════════════════════════════════════════════════════════════════════
FileName Name of the File, which contains the commands.
═══════════════════════════════════════════════════════════════════════════════
Explanation
═══════════════════════════════════════════════════════════════════════════════
Reads each line of the InputFile and handles the line as CommandLine.
If you want to save time and i think most of us want to do this,
you should think about using this option. Check how much faster it is
to run your daily JL-Options with or without this trick.
You will be surpriced, how fast it is. And if you have ever thought:
why does the JL's are needing so much time for loading, you must know
the answer. It is this option.
If a error occurs during the use of GC, THE JL's quit. GC writes
the number of the last scanned line of FileName into POS{GC}.@JL,
which is located in the subdirectory WRK. So it is possible to run
the complete FileName, if a error occurs during processing one line
of FileName. All you have to do is, to look in your batch file, if
POS{GC}.@JL exists. Look at the example below to get an impression,
how you could make a loop in your batchfile.
┌─Example #1──────────────────────────────────┐
│ :GC │
│ JLUTIL /GC DAILY.BEH │
│ IF EXIST %JLPATH%\WRK\POS{GC}.@JL GOTO :GC │
└─────────────────────────────────────────────┘
It is not possible to use all options of THE JL's within GC. Specially
the last commandline must not be a option, which doesn't display the
sentence 'The program was xx.xx seconds active.'.
So it is better to setup a InputFile like this:
001.BEH--------------
/MC
/PM ~ -C
/MO
/IL P -US
/IL RSXD -USL7
---------------------
and running JLUTIL /GC 001.BEH, than using a batch-file like this:
001.BAT--------------
JLUTIL /MC
JLUTIL /PM ~ -C
JLUTIL /MO
JLUTIL /IL P -US
JLUTIL /IL RSXD -USL7
---------------------
and running 001.bat. Message understood ?
┌─Examples───────────────────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
JLUTIL /GC MDRIV.BEH
:GC
JLUTIL /GC DAILY.BEH
IF EXIST %JLPATH%\WRK\POS{GC}.@JL GOTO :GC