REM, REMARK, and – –
Syntax
REM comments; REMARK comments; -- comments
Description
Each of these three command variations indicates explanatory text in a PeopleSoft Data Mover script.
Example
Here are three examples demonstrating the use of each:
REM This example demonstrates the use of the REM command to set off script
comments.
These statements can span multiple lines and must be terminated with a valid
delimiter;
REMARK The REMARK command variation has the same restrictions as REM
/
-- This example demonstrates the use of two dashes to denote script
-- comments. No delimiters are required, but statements can not
-- exceed one line without using another double-dash.
When using a double hyphen (--), as in the third example, you need at least one space after the double hyphen, before the start of the actual text of the comment. Otherwise, you receive a syntax error.
When used in conjunction with a comment prefixed by REM or REMARK, the forward-slash delimiter (/) should be by itself on the last line of that comment. In such cases, instead of using a forward-slash (/), you can also use a semicolon (;) by itself on this last line. The forward slash (/) can also be used by itself without a REM or REMARK statement, in lieu of blank lines, which are also allowed in a script.