|
date: Wed, 27 Feb 2008 15:03:15 -0600due
from: Rod Verity <rod_verity@xxxxxxxxxxxxxx>
subject: [WDSCI-L] Setting up a compile in WDSC...Another Try
I had asked this question before but I believe part of the problem was
to too many call layers. I have set up a new "chopped down" version of aprocedure
compile procedure for Cobol programs. The reason I want to call a
instead of using the supplied CRTCBLPGM is because the input librarysets
the library list so the copybooks will be found according to the correctlibrary.
library list. Also, the compiled object is placed in a different
eg. If person is compiling out of ISPS56A, the CL program will put thissets
library plus a couple of other default libraries in the library list,
the output library for the PGM parameter to be ISPO56A and then runslast
CRTCBLPGM.
When I run this, the compile is run but the errors are not returned to
iSeries Error List. I have looked at all comments and references from
time which includes putting /* OPTION(*EVENTF) SRCMBR(&N) */ at end ofSRCMBR(&N)
command. There was another listing that said to use /* *EVENTF
*/ which I tried also. The entire command is WDCBLCOMP PGM(&N)SRCLIB(&L)
SRCFILE(&F) /* *EVENTF SRCMBR(&N) */. I set up a command callWDCBLCOMP
as well as a CL program. The CL program calls an in-house routine to set*LSTDBG
the library list and the output library and then runs CRTCBLPGM as
following:
CRTCBLPGM PGM(&OBJLIB/&PGM) SRCFILE(&SRCLIB/SRCE) OPTION(*SOURCE
*APOST *XREF *MAP).commands
I also went into preferences for iSeries Command Execution and unchecked
"Compile in batch".
I read some info written by Bruce Guetzkow and Kushal Munir regarding
running a command. It says you have to write the events file location to
the local data area. How do I do that? And where would I find the data
area that is used by my WDSC session? I tried adding following two
after the CRTBLPGM call but nothing happened:
CHGDTAARA DTAARA(*LDA (1 10)) VALUE(&OBJLIB)
CHGDTAARA DTAARA(*LDA (11 10)) VALUE(&PGM)
Thanks in advance,
Rod Verity
As an Amazon Associate we earn from qualifying purchases.
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.