Hello Russ,
...
> !comment Update the range of logs to process
> !file zlog,oldtemp
> !if finfo("*zlog",0)
IMO, it is easier to read and to maintain next year if you use the
FINFO label names rather than the numbers. I would write here:
!if finfo("*zlog,"exists") then
> ! purge zlog,temp
Minor trivia: you can now use a semicolon instead of the comma.
PURGE is now more consistent with other CI commands, where commas
usually delimit an token in a list of related tokens.
! purge zlog;temp
Also, FWIW, you could just unconditionally purge the temp file
not worrying if it exists or not, e.g.:
!purge zlog;temp >$null
> !endif
> !build zlog;TEMP;dev=disc;disc=10;rec=-4,,f,ascii;nocctl
> !file outz=zlog,oldtemp;dev=disc;acc=append
Why "acc=append" when you have ">>" redirection to append?
> !echo !FIRST >*outz
> !echo !LAST >>*outz
...
regards,
Jeff Vance, CSY
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|