Continuation Character ( - ) in zOS Handler Script
Continuation Character - in z/OS Handler Script
Continuation characters ( - and + ) are useful when you want to execute a script line that is longer than your available z/OS character space.
The - continuation character will preserve trailing spaces in your line.
The + continuation character will not preserve trailing spaces in your line.
The following z/OS handler script: begin_script stmt "ls -a - <---- Notice the continuation character "-" >dirfile" end_script Will produce the following output when loaded to the uemh.db: Handler ID...................: MFCTRIGGER_1 Handler Type.................: SCRIPT Max Acceptable Return Code...: 0 Encrypted User File..........: User ID......................: mfc1a Script statements: ls -a >dirfile Script Type..................: bat Command Line Options.........: Last Modified On.............: 06/11/11 10:32:31 AM Last Modified By.............: mfc1a
Components
Universal Event Monitor Manager for z/OS