Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 >dir +          <---- Notice the continuation character "+"
 file"       
 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 11:46:32 AM
Last Modified By.............: mfc1a

Components

Universal Event Monitor Manager for z/OS

  • No labels