MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2008

Re: OPNQRYF QRYSLT CPF9899 Al Mac



fixed

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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact