AUTO CLOSE: Difference between revisions

From Sysgem Support
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'Tips for developers working within the Sysgem Enterprise Manager (SEM) environment'.
'Tips for developers working within the Sysgem Enterprise Manager (SEM) environment'.


== AUTO_CLOSE ==
----


''Automatically close the input form after a transaction is complete.''
''How to automatically close the input form after a transaction is complete.''
 
 
'''AUTO_CLOSE'''


Normally, the "results pane" remains open after a SEM transaction is compleet, to show the output from the script that has run on the target system. Sometimes, however, it is desirable to close the window automatically as soon as the script has completed on the target server.
Normally, the "results pane" remains open after a SEM transaction is compleet, to show the output from the script that has run on the target system. Sometimes, however, it is desirable to close the window automatically as soon as the script has completed on the target server.
Line 22: Line 25:


* (M) VMS
* (M) VMS


'''String to output:'''
'''String to output:'''
Line 27: Line 31:
     "@{{AUTO_CLOSE"
     "@{{AUTO_CLOSE"


e.g. from a Perl script:  
 
'''From a Perl script:'''


     print "\@{{AUTO_CLOSE\n";
     print "\@{{AUTO_CLOSE\n";
'''From a Korn Shell script:'''
    echo "@{{AUTO_CLOSE"
'''From a DCL Shell script:'''
    $ write sys$output "@{{AUTO_CLOSE"

Latest revision as of 10:12, 24 February 2011

'Tips for developers working within the Sysgem Enterprise Manager (SEM) environment'.


How to automatically close the input form after a transaction is complete.


AUTO_CLOSE

Normally, the "results pane" remains open after a SEM transaction is compleet, to show the output from the script that has run on the target system. Sometimes, however, it is desirable to close the window automatically as soon as the script has completed on the target server.

Output the following string to standard output from any of the following scripts:

  • (M) Fields
  • (M) Pre-processing
  • (M) Post-processing
  • (M) AS400
  • (M) Windows / NT
  • (M) UNIX
  • (M) VMS


String to output:

   "@{{AUTO_CLOSE"


From a Perl script:

   print "\@{{AUTO_CLOSE\n";


From a Korn Shell script:

   echo "@{{AUTO_CLOSE"


From a DCL Shell script:

   $ write sys$output "@{{AUTO_CLOSE"