Decipherig RPGLE Specs…

690 pts.
Tags:
I-Spec
RPGLE
Source code
I did a CPYF from LIBRARY/QRPGLESRC(RPGLEPGM) to a new physical file created on the fly. Now, I know that when you do this, the data in the SRCDTA field shows exactly what's in the program. BUT, how am I to figure out if an I-Spec statement reflects an actual I, IX, J, or JX prompt?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

I would probably use the following :-

IX = Record name (10 positions) & Indicator (2 pos), rest of line must be blanks.
otherwise
J = Blanks up until Date format
otherwise
JX = Blanks before Ext field, Ext field must filled
otherwise
I

Not the most straightforward way of working it out and not perfect either, but I think it should work for most cases.

Regards,

Martin Gilbert.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    You aren't supposed to decipher it. The compiler or the source editor does that. Beyond that, you can decipher it because you're a programmer familiar with the language. How could you know what to type in in the first place otherwise? Formats such as IX, J and JX don't actually exist anyway. Those are totally for SEU and nothing else. Since you can't alter SEU, there's no need for you to know which is which. All you need to know is where source data is in the columns. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following