|
If DSPDTAQ says there are multiples then there probably are and then the issue is with your loading of the data queue. Although that seems to be a custom command. Good question at the end. Write two quick and dirties. First one loads three entries into the queue. Could be as simple as 'A', 'B', 'C'. Second program reads the queue and does a DSPLY of the contents. Then at the end do another DSPDTAQ. CRTDTAQ DTAQ(QTEMP/BLARNEY) MAXLEN(1) CALL PGM(QSNDDTAQ) PARM('BLARNEY ' 'QTEMP ' X'00001F' 'A') CALL PGM(QSNDDTAQ) PARM('BLARNEY ' 'QTEMP ' X'00001F' 'B') CALL PGM(QSNDDTAQ) PARM('BLARNEY ' 'QTEMP ' X'00001F' 'C') DMPOBJ OBJ(QTEMP/BLARNEY) OBJTYPE(*DTAQ) Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.