Welcome Guest [Log In] [Register]
Bookmark and Share
Welcome to LawsonTalk. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. After registration, please check your e-mail within 24 hours for an message from us, read it, and reply to it.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Brand New App; BRAND NEW APP
Topic Started: Dec 13 2006, 12:43 PM (519 Views)
klkemp
Member
[ *  * ]
I am trying to create my "first ever" custom cobol application within our Lawson UNIX environment. I created a new System Code, then used PGMDEF to go in and create the app., I actually copied a Lawson app over and renamed it, as I will use this as the basis for actually building the application.

Anyway, I modified the .scr to look like I wanted and started working in the PD to have my logic instead of the original Lawson apps logic (which I copied from).

I am now ready to compile the app and see what errors i am getting etc.

I go to ACTION >> COMPILE >> PROGRAM to compile the application.

MY PROBLEM IS:
I never see the app go into the compile queue,
I never see a .err file generated
I never see a .obj file generated

Is there some type of set-up that I am missing?

Many thanks in advance for your help. :banghead:
Offline Profile Quote Post Goto Top
 
Ragu
Advanced Member
[ *  *  * ]
Are you sure have permissions to run qcompile ?
Do you have access to the command line ? If so I woyld try qcompile from the command line and see where that gets you.
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
Since I am able to compile all the "standard" Lawson applications via the same PGMDEF >> ACTION >> COMPILE >> PROGRAM
I would assume that permissions would not be the issue.
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
When I run qcompile from the command line for this new app, I get the same results as when i go through PGMDEF, nothing happens / gets generated, no *.err, no *.obj etc.
Offline Profile Quote Post Goto Top
 
Ragu
Advanced Member
[ *  *  * ]
If you have not already done so, try this:
1. scrgen
2. rptgen
3. bldsh
Maybe one of them will tell you why the qcmpile is not working
Since you created a custom system code, maybe there are key numbers in the .scr file that need to be defined in the custom system
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
this is what i got:

kkemp@deuce:/lawdev/apps/crp81/u1src > scrgen -s crp81 U1 U110
open(/lawdev/apps/crp81/u1src/U110.lkf) failed - Permission denied
kkemp@deuce:/lawdev/apps/crp81/u1src >
Offline Profile Quote Post Goto Top
 
Ragu
Advanced Member
[ *  *  * ]
according to the support site, .lkf is a lock file created when a process (scrgen in this case) runs and is deleted when the process completes successfully. In this case, looks like a previous instance of scrgen did not complete correctly.

This is what I would try. rename the U110.lkf file. Try scrgen again and see what happens.
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
there was never an lkf file created. i'm thinking it must be a UNIX permissions thing. Right now Lawson is the owner of the directory and the files (PD, WS, .scr). Should Lawson be the owner?
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
I played with the directory permissions and finally got the compiler to accept my job. Now I am getting the following:

Building /lawdev/apps/crp81/sdlib/U110SD
Warning: Errors found in U110.1
sh: /lawdev/gen/bin/xscrgen: cannot execute
Error - scrgen Failed, Check Your Form File, Unable To Continue
/lawdev/gen/bin/bismark: Error Encountered In Execution
/lawdev/gen/bin/lawosh: Error Encountered In Execution
Offline Profile Quote Post Goto Top
 
klkemp
Member
[ *  * ]
I think I found the problem. Thanks for all your suggestions. If I run into more issues I'll yell.
Thanks again!
:coffee:
Offline Profile Quote Post Goto Top
 
« Previous Topic · Coding, Program Errors and Bugs · Next Topic »
Add Reply