The READ TRANSACTION command is a batch only command that terminates the current process, performs a mapin operation, and then selects the next application function or response process to be executed.
Note: For applications defined using the application generator, the runtime system first examines the current record's response field. If the field selects an immediately executable function that is not the same as the current function, the runtime system passes control to the selected function. The next time a mapin operation is performed for the file, the runtime system immediately maps in the record.
For more information about the mapin process, see Batch Dialog Structure and Application Structure in CA ADS Batch Concepts and Runtime Flow of Control in Runtime Considerations.
On a mapin operation, the runtime system automatically opens the file being read if the file is not already opened.
Syntax for the READ TRANSACTION command is shown below:
►►───── READ TRANsaction ────┬──────────┬──── . ─────────────────────────────►◄ └─ OUTput ─┘
Terminates process execution and performs a mapin operation.
Specifies that the file is to be opened as an input/output file. OUTPUT must be specified in the first READ TRANSACTION command for a VSAM entry-sequenced data set (ESDS) that is to be opened for both input and output. OUTPUT is ignored if the file is already opened; if the file is not a VSAM ESDS file, the application abends.
|
Copyright © 2013 CA.
All rights reserved.
|
|