× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I've been playing around a while with getting our custom compile program
to work in RDi and send up the errors. It seems to be doing everything
except causing RDi to pull up the errors. Here's what I have so far:



The command: UCMPRPG PROGRAM(&L/&N) SOURCE(&N/&L/&F) TGTRLS(V5R3M0)
DEBUG(*YES) OPTION(*EVENTF) CMPSOURCE(*RDI)



This creates a EVFEVENTF:

File . . . . . . : EVFEVENT Library . . . . : KEVIN


Member . . . . . : FIXMTRCD Record . . . . . : 1


Control . . . . . Column . . . . . : 1


Find . . . . . . .


*...+....1....+....2....+....3....+....4....+....5....+....6....+....7..
..+....8....+....9....+....0....+....1..

TIMESTAMP 0 20091103095850


PROCESSOR 0 000 1


FILEID 0 001 000000 023 KEVIN/QRPGSRC(FIXMTRCD) 20091103083314 0


ERROR 0 001 1 000010 000010 019 000010 020 RNF7030 S 30 040 The
name or indicator @X is not defined.

ERROR 0 001 1 000009 000009 049 000009 062 RNF7031 I 00 047 The
name or indicator TCDATE is not referenced.



At the end of my compile I'm dumping the LDA:

5761SS1 V6R1M0 080215 Display Data Area
*LDA

Data area . . . . . . . . . . . : DTAARA *LDA


Type . . . . . . . . . . . . . : TYPE *CHAR


Length . . . . . . . . . . . . : LEN 1024


Text description . . . . . . . : TEXT *LDA for Job
426971/QUSER/QZRCSRVS

Offset Value


*...+....1....+....2....+....3....+....4....+....5


0 'KEVIN FIXMTRCD '




I read some threads and have played with so much that I don't remember
now what I've tried and not tried. Because of the way our compile
program used to run, it never ended in error. Thinking that the lack of
an abnormal end was causing the problem, I've played around with various
messaging schemes, but I must not be hitting the correct one, or that's
not going to be the trigger.



The relevant section of the code where the compile fails:



SNDPGMMSG MSGID(CPF9897) MSGF(QCPFMSG) +

MSGDTA(%SST(&PGMPARM 11 10) *CAT +

%SST(&PGMPARM 1 10)) MSGTYPE(*ESCAPE)

DSPDTAARA DTAARA(*LDA) OUTPUT(*PRINT)

CHGVAR VAR(&CURLIB) VALUE(%SST(&PGMPARM 11 10))

CHGCURLIB CURLIB(&CURLIB)




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.