- 论坛徽章:
- 0
|
DATAQ和DATAARA的区别:干脆把它看成,它们之间没关系趋理解,更方便。
DATAQ不是只有FIFO,也可以FILO的,主要看call entry stack。
DATAQ:a type of system object that you can create,to which on HLL procedure or program can send data,and from which another HLL procedure or program can receive data.
when an entry is received,it is removed from the data queqe(JOB QUEUE),however,it can't free ASP.You can receive the data immediately,or receive the data later(waitrcd).
DATAQ主要是用来做异步JOB通讯的。如QSYSOPR,QHST(系统的)。COMMAND发出的是JOB QUEUE。
DATA AREA:跟DATAQ没有关系。an object used to hold data for access by any job running on the system.It can be used at any time, indepent of the existence of procedures or files.
DATA AREA 一般是用来provide a constant,such as tax rate.
比如我们经常遇到的*LDA。还有*GDA等。 |
|