

Control Commands › READ TRANSACTION
READ TRANSACTION
Purpose
(CA ADS/Batch only) Terminates the current process, performs a mapin operation, and then selects the next application function or response process to be executed.
Syntax
►►────── READ TRANsaction ──────┬──────────┬───── . ──────────────────────────►◄
└─ OUTput ─┘
Parameters
- OUTput
-
Specifies that the file is to be opened as an input/output file.
Usage
Considerations
- 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.
- If the current record's response field selects an immediately executable function that is not the same as the current function, the runtime system passes control to the newly selected function. The next time a mapin operation is performed for the file, the runtime system immediately maps in the record.
- On a mapin operation, the runtime system automatically opens the file being read if the file is not already opened.
Copyright © 2014 CA.
All rights reserved.
 
|
|