Or running debug and put a breakpoint just after the variable is done being constructed

-------------- Original message --------------
From: "Mark S. Waterbury" <mark.s.waterbury@xxxxxxx>

Hi, Al:

It often helps to insert a line similar to the following, just prior to
issuing the OPNQRYF statement:

SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&SELECT) +
TOPGMQ(*PRV (*)) MSGTYPE(*DIAG)

That way, you can see in the job log exactly what the selection criteria
actually looked like.

You can also add this statement:

SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&SELECT) +
TOPGMQ(*EXT) MSGTYPE(*STATUS)

Then, you will see it on the message line when run interactively.

HTH,

Mark S. Waterbury




Return to Archive home page | Return to MIDRANGE.COM home page