Quantcast
Channel: AS/400 Data Queue – IT Answers
Viewing all 11 articles
Browse latest View live

Keyed Data Queue

$
0
0

Hello,

Can any one help me by providing a sample CL program to add and retrieve data from a keyed Data Queue? Please see the below mentioned CL program I am getting “CPF3C36” error. Can any one help me in this regards?

PGM
DCL VAR(&DQNAME) TYPE(*CHAR) LEN(10) VALUE(‘BIBIN’)
DCL VAR(&DQLIB) TYPE(*CHAR) LEN(10) VALUE(‘D993336′)
DCL VAR(&DQSNDL) TYPE(*DEC) LEN(5 0) VALUE(14)
DCL VAR(&DQLEN) TYPE(*DEC) LEN(5 0)
DCL VAR(&DQSNDD) TYPE(*CHAR) LEN(100)
DCL VAR(&DQDATA) TYPE(*CHAR) LEN(100)
DCL VAR(&DQWAIT) TYPE(*DEC) LEN(5 0) VALUE(0)
DCL VAR(&KEYLE) TYPE(*DEC) LEN(3 0) VALUE(1)
DCL VAR(&KEYDAT) TYPE(*CHAR) LEN(1)
CHGVAR VAR(&DQSNDD) VALUE(‘THIS IS BIBIN ‘)
CALL QSNDDTAQ PARM(&DQNAME &DQLIB &DQSNDL &DQSNDD &KEYLE &KEYDAT)
CALL QRCVDTAQ PARM(&DQNAME &DQLIB &DQDATA –
&KEYLE &KEYDAT &DQWAIT )
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&DQDATA)
ENDPGM


How can we read data in a DATA QUEUE without removing it from DTAQ

$
0
0

Is there any way to see the data present in a DATA QUEUE without removing/disturbing the data sequence in it.

Examples of data queue in IBM AS/400

$
0
0

I would like know how to to use the Dataq. Please send me examples in RPG ILE/400 as possible. Thanks

AS/400 Data Queue being deleted

$
0
0

We have 5 data queues that work fine, but one queue is being randomly deleted by QZHQSSRV. OS400 Version is 5.4.

All queues are FIFO and in the same library/ASP

V6R1 storage limit exceeded for data queue

$
0
0

Just upgraded to V6R1. Getting the following message in one of my applications: Storage limit exceeded for data queue. Why and how do I correct?

AS/400 Data Queues

$
0
0
New Discussion Post by WoodEngineer

Keyed Data Queue

$
0
0

Hello,

Can any one help me by providing a sample CL program to add and retrieve data from a keyed Data Queue? Please see the below mentioned CL program I am getting “CPF3C36” error. Can any one help me in this regards?

PGM
DCL VAR(&DQNAME) TYPE(*CHAR) LEN(10) VALUE(‘BIBIN’)
DCL VAR(&DQLIB) TYPE(*CHAR) LEN(10) VALUE(‘D993336’)
DCL VAR(&DQSNDL) TYPE(*DEC) LEN(5 0) VALUE(14)
DCL VAR(&DQLEN) TYPE(*DEC) LEN(5 0)
DCL VAR(&DQSNDD) TYPE(*CHAR) LEN(100)
DCL VAR(&DQDATA) TYPE(*CHAR) LEN(100)
DCL VAR(&DQWAIT) TYPE(*DEC) LEN(5 0) VALUE(0)
DCL VAR(&KEYLE) TYPE(*DEC) LEN(3 0) VALUE(1)
DCL VAR(&KEYDAT) TYPE(*CHAR) LEN(1)
CHGVAR VAR(&DQSNDD) VALUE(‘THIS IS BIBIN ‘)
CALL QSNDDTAQ PARM(&DQNAME &DQLIB &DQSNDL &DQSNDD &KEYLE &KEYDAT)
CALL QRCVDTAQ PARM(&DQNAME &DQLIB &DQDATA –
&KEYLE &KEYDAT &DQWAIT )
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&DQDATA)
ENDPGM

The post Keyed Data Queue appeared first on IT Answers.

AS/400 Data Queue being deleted


How can we read data in a DATA QUEUE without removing it from DTAQ

V6R1 storage limit exceeded for data queue

Examples of data queue in IBM AS/400

Viewing all 11 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>