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
Compile Error - WS field not defined in specified WS
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
chaoticist
Past 24 Hours:
2
Prev. 24 Hours:
0
Overall:
5185
People Online:
Visitors:
187
Members:
0
Total:
187
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
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
Compile Error - WS field not defined in specified WS
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Woozy
Veteran Member
Posts: 709
9/26/2013 2:50 PM
Hi All - this is a strange one.
I created a custom library (ZZBNFPD/ZZBNFWS), defined it using libdef so that the PD references the WS. I then put a call into BNBNFPD to the new library. The only entry in the custom library (at this moment) is a display statement (DISPLAY "TEXT"). When I compile the program, it compiles without errors. If I run the base program, the library is called and the display appears in the log.
Next, I tried adding a line to the custom library to display a value from the calling library. When I try to compile this, I get a compile errors:
...
Error - BNFBN-FC Not Defined In Specified WS
Error - RdLibInt Failed For ZZBNFPD
Fix The Errors In ZZBNFPD And Try Again
...
I have confirmed that the value is spelled correctly.
If I comment out the display statement and debug the program, when I step into the custom library the BNFBN-FC value is available to view/modify.
Any thoughts on what could be causing this? Do I just need to restart the compiler? How do I do that? Thanks!
Ragu Raghavan
Veteran Member
Posts: 468
9/26/2013 3:24 PM
depending on where the variable BNFBN-FC is defined, that wslib may need to be linked to ZZBNFPD in libdef
Woozy
Veteran Member
Posts: 709
9/26/2013 3:32 PM
HAHA-That was it! Thanks Ragu Raghavan! I added BNBNFWS to ZZBNFPD in libdef and it compiled fine. Thanks for your help!
I'm curious - is this because my custom library is being called from another library? I know I've used custom libraries called directly from programs and was able to pass variables back-and-forth without issues.
Thanks for your help!
You are not authorized to post a reply.