EMS Manual

Example of Retrieving Event Messages
EMS Manual426909-005
A-2
Running the TAL Version
Running the TAL Version
To run the TAL version of this application:
1. Load the TACL macro LDQ (load quietly), which is defined as:
?SECTION LDQ MACRO
#PUSH:DUMMY
#LOAD /KEEP 1, LOADED:DUMMY/ %1%
#POP:DUMMY
2. Load the definition files for the programmatic interface, the EMS subsystem, and
MYAP by entering these TACL commands at your terminal:
DDL /IN MYAPDDL/
LDQ $SYSTEM.ZSPIDEF.ZSPITACL
LDQ $SYSTEM.ZSPIDEF.ZEMSTACL
LDQ MYAPTACL
EMF /IN MYAPFSRC/$SYSTEM.FILT.MYAPFOBJ
TAL /IN MYAPMAIN/MYAP
RUN MYAP
3. Compile the DDL file.
4. Load standard definition files for the SPI, EMS, and MYAP subsystems.
5. Compile the TAL procedures.
6. Issue the RUN command.
Running the TACL Version
To run the TACL version, proceed as in the TAL version, except replace the
compilation step (TAL /...) and the RUN command with this TACL call:
MYAPMAIN
Running the COBOL Version
To run the COBOL version, proceed as in the TAL version except replace the
compilation step (TAL /... ) with:
COBOL85 /IN MYAPMAIN/MYAP
Running the C Version
To run the C version, proceed as in the TAL version except replace the compilation
step (TAL /... ) with:
C /IN MYAPMAIN/MYAP