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
New Table w\compilation issues
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
275
Members:
0
Total:
275
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
New Table w\compilation issues
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
17 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Demi
Veteran Member
Posts: 67
12/19/2011 5:24 PM
I've been tasked with adding a new database table to the Lawson PR system. I've created my table, ran blddbdict and dbreorg. My new (empty) table shows up in the database. I've since created two custom programs(using pgmdef & copy) to use my new table but when I run through a compile I keep getting this error:
Warning: Error - PrcWRKFILE(): 'NewTableName' Not Found In WsGrp
Warning: Work File 'NewTableName' May Not Be Defined In workdef
/lawson/gen/bin/bismark: Error Encountered IN Execution
/lawson/gen/ben/lawosh: Error Encountered In Execution
I've tried to create new libraries (PD,WS) using pgmdef, but can't do anything once I get there. Do there have to be defined as a workfile?
I've never created a custom table before and I'm not sure if I'm missing something. Searched the knowledge base thru and thru with not much help. I have questions... Do I 'need' to update the .OR file; my new file is created from the paydeductns table and is then, totally independant. Do I need to create a custom PD and WS? Will the lawson utilities create custom 840-, 850- (etc) or will they need to be handled independantly within my programs?
John Henley
Posts: 3353
12/19/2011 5:36 PM
The 840-, 850- paragraphs are created, however you have to PERFORM *something* that actually references the table in order for the Lawson bismark precompiler to actually generate the COBOL for access the table.
Sam Simpson
Veteran Member
Posts: 239
12/19/2011 5:38 PM
1. Did you create indexes to your tables?
2. Are you opening your tables in your custom program(like a workfifle)?
3. How are you reading/writing data?
Karen Sheridan
Veteran Member
Posts: 142
12/19/2011 5:39 PM
I wonder if the pgmdef copy created something that's off in workdef? Did you also look there to see if everything is as it should be?
Karen
John Henley
Posts: 3353
12/19/2011 6:05 PM
You have to PERFORM *something* that actually references the table in order for the Lawson bismark precompiler to actually generate the COBOL for accessing the table. If you are just referencing member variables/columns within the table, you will get an error, since you aren't actually accessing the table.
Demi
Veteran Member
Posts: 67
12/19/2011 7:44 PM
Thank-you to everyone for your responses, I really appreciate it. Currently I have two issues 1- my compilation is returning ... Warning: Error - PrcWRKFILE(): LEIT Not Found In WsGrp
Warning: Work File LEIT May Not Be Defined In workdef
D:\cobdev\gen/bin/bismark: Error Encountered In Execution
... Since I've created a new table called LEIT in the database (with 3 Indexes); do I need to define something more? I've tried creating a New Library for my table under pgmdef for my source but the software isn't allowing me to actually do anything. How does Lawson generate the internal PD and WS areas for the new table? Must I do something more than the blddbdict and the reorg? My second issue ... I can view my new screen and select criteria within the portal but when I add my job I receive "Validate: EOF Encountered".
John Henley
Posts: 3353
12/19/2011 7:53 PM
You don't need a library. Please read my answer above about needing some code in your program that accesses the LEIT table to have something in your code (i.e. PERFORM 840-FIND-LEISET1, etc.) that forces the bismark / qcompile process to insert the libraries. Again, you don't have to do anything with a library.
What is it that your program is trying to accomplish?
You are getting the "Validate: EOF Encountered" error because your program is not compiled.
Demi
Veteran Member
Posts: 67
12/19/2011 8:04 PM
My program is pulling information off of the PAYDEDUCTN table, along with the Employee master and the PRREGPARM file. The gathered information is then written out to my new table.
John Henley
Posts: 3353
12/19/2011 8:15 PM
PERFORM 800-CREATE-LEIT.
.
.
.
MOVE PYD-COMPANY TO LEI-COMPANY.
MOVE PYD-EMPLOYEE TO LEI-EMPLOYEE.
.
.
.
PERFORM 820-STORE-LEIT.
John Henley
Posts: 3353
12/19/2011 8:17 PM
It is the 800-CREATE-LEIT and the 820-STORE-LEIT that will trigger the complier to insert the appropriate library code.
Demi
Veteran Member
Posts: 67
12/19/2011 8:59 PM
Thank-you John! I'm on the move again. Any idea where I can get a list of the possible invalid key conditions? Can I use LEIT-Duplicates? I have a sequence number field in my record to sequence any possible duplicates.
Please
login
to post a reply.