PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

READ using Data Structure I/O

Go down

READ using Data Structure I/O Empty READ using Data Structure I/O

Post  maran Sun Jun 05, 2016 12:18 am

READ using Data Structure I/O

There is saying OLD is GOLD. Yes we use old technique that is necessary as well to specify data structure in result of retrieval opcodes ( READ, READP, CHAIN, READE , REDPE) if you retrieve record from program described DS. Specifying DS in result field is optional if we read the record from externally described file. But specifying DS in result field will cause I/O is faster to move a large number of bytes from the record buffer to the DS than it is to move each of the fields individually.

Also we can use DS (MULTIPLE OCCURRENCE DS / ARRAY OF DS) to store a multiple records of the same file to compare the records.
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum