Skip to main content

Posts

Showing posts from January, 2018

CL Commands & Data Structures and Data Area, Tables and Queues

CL-commands & DS and DTA’s, Tables, queues 1. Define what a data area is along with a brief example of what it may be used for? Data area is a storage area to store limited information. Example: a new and unique customer number is generated whenever a new customer is added to customer master file. Data area keeps track of last record added and add 1 to it. Through program we can access new customer number. 2. Define what a data queue is along with a brief example of what it may be used for? Data queues provides communication between programs by calling API’s QSNDDTAQ and QRCVDTAQ along with parameters like data queue name, library in which data queue exists, variable to store the number of characters to be sent, variable to store the information to be sent. We can send the same data queue to the many programs. 3.List the steps/commands necessary to accomplish the following: a. Copy data from the file ORDHDR into file ORDHIST b. The file ORDHIST may or may not exi...