

Version 14.0 › CA Datacom Tools Products › New Features and Enhancements › MUF LXX Format Options › READRXX Routine with FORMAT 1 Records
READRXX Routine with FORMAT 1 Records
With FORMAT 1 records, the READRXX routine might see some information in a different way from what was seen in FORMAT 0 records, therefore requiring a minor change as described in this section.
In the READRXX routine in Version 14.0:
- All control information is the same between FORMAT 0 and FORMAT 1 records.
- The before record for UPDAT and DELET is always presented as the full record.
- The Work Area for ADDIT and UPDAT is always presented as the full record with FORMAT 1, but this could be different with regard to FORMAT 0 records.
- The element list is changed with FORMAT 1 records to a single 'special' element of '-#ttt' where ttt is the table name. This element represents the full record, and this element name can be used in all DBNTRY calls. The element list ends, as usual, with 5 blanks.
- If the READRXX routine simply prints the information or uses it for DBNTRY calls, no change is required.
- If the elements are looked up in a table or in CA Datacom Datadictionary, a minor change is required, specifically to not look up the special element in a table or CA Datacom Datadictionary, because the special element has been available for many releases and might already be handled by the routine.
Note: A benefit of FORMAT 1 processing is that it allows the READRXX routine to be simplified by having the before and after records, and therefore having no need to understand elements.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|