Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

z/OS PL1 compiler message

3 views
Skip to first unread message

Ricky WU

unread,
Dec 14, 2009, 12:11:11 AM12/14/09
to
Hi all

I compile some source which has CICS or SQL statement with z/OS PL1
Enterprise Compiler,
and use parameter PP(CICS) or PP(SQL).

But compiler message's line number still not match original source
code's line number, so it's hard to find out which line has
compilation problem.
I checked maybe caused by %INCLUDE statement, compiler will expand the
INCLUDE file into source.

Is it possible to use parameter to let the compiler output exact line
number of source file?

Here is additional information:
http://groups.google.com/group/comp.lang.pl1/browse_thread/thread/223f8fd75beab6d6#

Thanks!

robin

unread,
Dec 14, 2009, 9:47:12 AM12/14/09
to
"Ricky WU" <rich...@live.com> wrote in message
news:8ce3b144-9a24-40ca...@l13g2000yqb.googlegroups.com...

| Hi all
|
| I compile some source which has CICS or SQL statement with z/OS PL1
| Enterprise Compiler,
| and use parameter PP(CICS) or PP(SQL).
|
| But compiler message's line number still not match original source
| code's line number, so it's hard to find out which line has
| compilation problem.
| I checked maybe caused by %INCLUDE statement, compiler will expand the
| INCLUDE file into source.

Line number reference should give the reference number of the
INCLUDE file as well as the line number withn that file,
when the error is in an INCLUDE file.
Do you not get this?

Did you ask for a preprocessor listing?


Ricky WU

unread,
Dec 15, 2009, 6:18:14 AM12/15/09
to
On Dec 14, 10:47 pm, "robin" <robi...@bigpond.com> wrote:
> "Ricky WU" <richi...@live.com> wrote in message

I got you mean:
If files which include by source have error, the messages should be
like this:
IBM.... linenumber.filenumber Descriptions
filenumber maybe 1 or others larger than 0.

My problem is main program has problem,
compiler expand the included file/SQL,CICS statement as a part of it.
This cause compiler information's linenumber not match with original
source's linenumber.

I want this result:
Compiler Information's linenumber is the exact linenumber of original
source,
not the one proccessed by preprocessor or any others, just source.

Is that possible? I hope so...

Thanks!

0 new messages