Re: tsm script continuation character
2006-05-01 13:00:48
>> On Mon, 1 May 2006 11:31:10 -0400, Timothy Hughes <Timothy.Hughes AT
>> OIT.STATE.NJ DOT US> said:
> I have the script below setup to run on Sunday. I understand the
> dash (-) is a continuation character that is placed at the end of
> the line, But I saw in the server log it did not accept the dash,
> Should there be a space on the next line before the continuation of
> a script?
> Administrator XXXXXXissued command: BACKUP DB
> devclass=BKP type=full scratch=yes -= wait=yes (SESSION:
> ANR2020E BACKUP DB: Invalid parameter - -. (SESSION: 988)
As a 'continuation character', it needs to come at the end of a line.
The way to think about it is that the byte sequence "-[newline]" is
magically removed from the script stream. Therefore a '-' other than
before a newline is a syntax error.
> Thanks in Advance!
You're welcome, a posteriori.
- Allen S. Rout
|
|
|