• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 798
  • Last Modified:

How can i Find The RPG-Source Line Based On the Job Log Source Number?

Hello All,
I have the Job Log for one RPG PGM, Which i am seeing  Source number 273
Decimal Data Error, But when i check the The RPG PGM the actual Source number
is commanted,

This is the Production Program I cannot compile this PGM also, is ther is any way
to find actual Source line based on this MSG.

TIA- Oramcle
1 Solution
Gary PattersonVP Technology / Senior Consultant Commented:
By default, RPG error messages contain the compiler listing line number, not the source line number.  The programmer can change this behavior by compiling with OPTION(*SRCSTMT).

Compile the program using OPTION(*NOGEN) to generate a listing without actually generating a compiled object.

- Gary Patterson
MurpheyApplication ConsultantCommented:
Hi Oramcle,

Yep Gary is right, or just compile it in QTEMP to get the compiler listing.

OramcleAuthor Commented:
Many Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now