Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
PGMDEF
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jessica
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5164
People Online:
Visitors:
197
Members:
0
Total:
197
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
S3 Customization/Development
PGMDEF
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Ronnie
Veteran Member
Posts: 152
1/6/2014 3:22 PM
Is there another area in LID where things are defined for programs inside of LID?
We have a custom program an ex employee wrote, but are finding lines that say for example PERFORM 780-DISPLAY-MESSAGE
but when you look in the program you dont see this defined anywhere. Is there something I am missing? I have looked all in the program...all the options, the working storage, etc etc etc.
Thoughts?
Donna Wirt
Basic Member
Posts: 17
1/6/2014 4:21 PM
That code is pulled in when the program is compiled.
Run 'bldsh' for your program and a .cbl will be created. You will see the actual 780-DISPLAY-MESSAGE code.
Woozy
Veteran Member
Posts: 709
1/6/2014 4:26 PM
Hi Ronnie,
This is a call to an external library. It isn't included directly in your program code, but it is automatically included in the compiled code. If you do a "lawcmp -D prodline syscode program" it will create a new file in the source directly named {program code}.cbl (i.e. HR11.cbl) that lists the full compile code listing. If you look in that file, you will find the code for 780-DISPLAY-MSG".
In this case, you could also look in the "Doc for Developers: Lawson 4GL Application Program Interfaces" document. It describes most of the delivered functions (like this one) that can be called from within a program. FYI - the "780-DISPLAY-MSG" function "
gets and displays an error message for errors associated with application program processing. Before entry, the caller sets the inputs in CRTWS. The error message (CRT-MESSAGE), as built, is left in CRTWS after displaying."
Details of inputs/outputs/useage are included in the above document.
Good Luck!
Kelly
You are not authorized to post a reply.