Error during PR160/PR180 compile

 5 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Sam Simpson
Veteran Member Send Private Message
Posts: 239
Veteran Member

This is from a friend of mine.  ENV 9.0.0.5 apps 803.

Trying to clone pr160/pr180 (inserted a new routine in library PRLASERPD but getting the following errors:

Warning: Error - PrcWRKFILE(): LASERWK Not Found In WsGrp Warning:         Work File LASERWK May Not Be Defined In workdef

He tried to return everything to normal including PRLASERPD but still getting the same errors.

Thanks for any help

Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
Looks like you blew away the workdef spec for LASERWK. You will need to redefine it,
John Henley
Send Private Message
Posts: 3351
The workfile probably still exists, you need to "reload" PRLASERPD via libdef, and reassociate its workfiles.
Thanks for using the LawsonGuru.com forums!
John
Sam Simpson
Veteran Member Send Private Message
Posts: 239
Veteran Member

I reloaded PRLASERPD via libdef including all the WS but I could not find anything  in libdef to associate the workfiles. When I enter PRLASERPD it only displays all the ws that it uses. I could not find a button that says workfile. LASERWK is still there in workdef. One thing I noticed when I displayed the program libraries of pr160 and pr180, I could not see PRLASERPD in the list.

Sam Simpson
Veteran Member Send Private Message
Posts: 239
Veteran Member
Thanks John. You are right. I have to reenter all the workfiles in libdef. Thanks.
John Henley
Send Private Message
Posts: 3351
Press F7, and select "B. Work File Screen". You should see LASERSRT, LASERWK, and PMTOUT.
Thanks for using the LawsonGuru.com forums!
John