| 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: |
| Brand New App; BRAND NEW APP | |
|---|---|
| Topic Started: Dec 13 2006, 12:43 PM (519 Views) | |
| klkemp | Dec 13 2006, 12:43 PM Post #1 |
|
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: |
![]() |
|
| Ragu | Dec 13 2006, 12:49 PM Post #2 |
|
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. |
![]() |
|
| klkemp | Dec 13 2006, 12:53 PM Post #3 |
|
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. |
![]() |
|
| klkemp | Dec 13 2006, 12:56 PM Post #4 |
|
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. |
![]() |
|
| Ragu | Dec 13 2006, 01:30 PM Post #5 |
|
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 |
![]() |
|
| klkemp | Dec 13 2006, 01:55 PM Post #6 |
|
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 > |
![]() |
|
| Ragu | Dec 13 2006, 03:19 PM Post #7 |
|
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. |
![]() |
|
| klkemp | Dec 14 2006, 05:10 AM Post #8 |
|
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? |
![]() |
|
| klkemp | Dec 14 2006, 05:35 AM Post #9 |
|
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 |
![]() |
|
| klkemp | Dec 14 2006, 05:57 AM Post #10 |
|
Member
![]() ![]() ![]() ![]()
|
I think I found the problem. Thanks for all your suggestions. If I run into more issues I'll yell. Thanks again! :coffee: |
![]() |
|
| « Previous Topic · Coding, Program Errors and Bugs · Next Topic » |





![]](http://209.85.48.22/static/1/pip_r.png)



9:25 AM Sep 9