9.224 WEBQ_RECEIVE

Note: Built-In Function Rules     Usage Options

Receive text data from specified data queue.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Library Name

1

10

 

 

2

A

Req

Queue Name

1

10

 

 

3

N

Opt

Wait Time
The number of seconds to wait for a message to arrive on the data queue.
A value < 0 means an infinite wait. The maximum is 99999 which allows a wait time of approximately 28 hours.
The default value is 3600 seconds.

1

5

0

0

4

N

Opt

From CCSID
The CCSID encoding of the data queue message.
The default value is 0 which is the CCSID of the job.
Note: CCSID 65535 is invalid.

1

5

0

0

5

N

Opt

To CCSID
The target CCSID encoding of the data to be returned in the return message argument.
The default value is 0 which is the CCSID of the job.
Note: If the From CCSID equals the To CCSID then no data conversion is done.
Note: CCSID 65535 is invalid.

1

5

0

0

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return Code
OK
ERROR
NOQUEUE
NOMESSAGE

1

20

 

 

2

A

Req

Return Data / Error Message

1

65536