- 論壇徽章:
- 0
|
DATAQ和DATAARA的區(qū)別:干脆把它看成,它們之間沒關(guān)系趨理解,更方便。
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(系統(tǒng)的)。COMMAND發(fā)出的是JOB QUEUE。
DATA AREA:跟DATAQ沒有關(guān)系。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.
比如我們經(jīng)常遇到的*LDA。還有*GDA等。 |
|