Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. riveradd

    PowerCobol V4 sample programs wanted

    Try this one. I am taking cobol as one of my classes and the book uses the fujitsu compiler and comes with all the codes in the book. don't know if it will help you out alot but im may help. David http://www.prenhall.com/grauer_cobol/html/download.html David Rivera
  2. riveradd

    COBOL 4.0 Help on Sub Routine

    I did a line by line code evalutation, making sure that words were spelled correctly. Then I took all of the inputs in this thread and applied them. To be real honest the program still did not work the way I had thought it should. I had created 3 seperate programs, compiled them separately with...
  3. riveradd

    COBOL 4.0 Help on Sub Routine

    Well it finally worked. Had to do some more tweaking and renaming but it displays as advertised. Thanks to all who suffered with me through all this. I really appreciate it. David Rivera
  4. riveradd

    COBOL 4.0 Help on Sub Routine

    I looked over the code once again and I found 2 more mis-spelled arguments in the ACCTOTLSUB. Nothing on the first. Will try later on to do the display statements. Thanks David Rivera
  5. riveradd

    COBOL 4.0 Help on Sub Routine

    Dimandja, I will try the display statements. You are right in that the debugger did give me an internal debugger error. It said it may not have enough virtual memory. Well I tried it on 2 different machines and it still gave me the same error. Basically, whenever I used the animate feature in...
  6. riveradd

    COBOL 4.0 Help on Sub Routine

    Not sure of the last question but I know I have proj3 as the main program set on the compiler. As to whether is an option or not, I don't believe there is. I will try the display statements. I should have done that already but my mind set got lost somewhere in the confusion. To me there is not...
  7. riveradd

    COBOL 4.0 Help on Sub Routine

    I went ahead and made my changes but to no avail. Tom, if you would can you please tell me if you used my original code with just the changes on the levels or did you use the above nested code? Just wondering. Thanks, Tom and to all who have tried to help. I'm afraid this one may get the best of...
  8. riveradd

    COBOL 4.0 Help on Sub Routine

    Your COBOL? WOW. Anyway you are right about the change. I thought I had re-added that code. I deleted as an experiment but as you can tell forgot to re-add. When you compiled my program originally, did you change anything other than the levels in ACCTOTLCOMM? I assume that you used it as written...
  9. riveradd

    Linking 3 programs together using Fujitsu Cobol 4.0

    I have a program that I wrote for school. It has 3 separate files (1 main, 2 sub-routines). I compile each separately, then I build them as one unit. then I execute with no errors. I execute and get most of my output except for the calculations performed in the sub-routines. I used winlink and...
  10. riveradd

    COBOL 4.0 Help on Sub Routine

    Marc, Here is the entire program again. I also included part of the input file that I am using, just in case you need it. Dimanja, What did you mean there was a significant difference between my program and Toms. I only ask because I was under the impression that Tom used my program initially...
  11. riveradd

    COBOL 4.0 Help on Sub Routine

    Marc, I did what Tom suggested and still the problem exists. All of the fields are now 01 levelized but I get the same problem of not displaying the calculations. Tom, I used winlink to link all three of my .obj files and had no problems. Unfortunately I am still not getting any output...
  12. riveradd

    COBOL 4.0 Help on Sub Routine

    That sounds like a great suggestion. I can't implement it this program as the instructor specifically wanted 2 separate sub-routines, I guess to show us how to compile different programs into one. I will definitely keep this in file. So Tom, do you think that my problem lies mainly with the...
  13. riveradd

    COBOL 4.0 Help on Sub Routine

    So, Tom, are you saying that the problem is in my compilers environment? I am going to change all the statements to 01 level arguments to see if maybe that will work. If it does not then I must conclude that the settings in my compiler is having problems. Thank you very much for your help. At...
  14. riveradd

    COBOL 4.0 Help on Sub Routine

    Tom, You said you compiled the program and it worked. Did it produce the output? I only ask because when I compile and execute, everything works fine. The output is where I see there is a problem. I will take your advice on using the 01 levels. Is that what you used? Also, I compiled this using...
  15. riveradd

    COBOL 4.0 Help on Sub Routine

    One thing we all agree on is that I am most definitely confused. As I look at the code, Tom, I do agree with what you are saying. But in this case, I am actually using a 01 level argument along with its subs (for lack of a better word). Isn't it ok to use it in this fashion? 01 WS-ACCUMULATORS...
  16. riveradd

    COBOL 4.0 Help on Sub Routine

    Thanks for the input. The answer for number 1 is yes, it does contain valid numbers when you step through the program. As far as question 2, the answer is no. After stepping through the program, it shows question marks whereas CRI-NUMBCONTR and CRI-CONTCOST contain correct numbers. As far as the...
  17. riveradd

    COBOL 4.0 Help on Sub Routine

    Here is the output I get for the first line input. Of course I have about 30 lines but I won't show that here. NUMBER OWNER CONTRACTS COST TOTAL COMMISSION COST...
  18. riveradd

    COBOL 4.0 Help on Sub Routine

    PS #2 I am using the Fujitsu compiler, in case it matters. David
  19. riveradd

    COBOL 4.0 Help on Sub Routine

    This may be as basic as it comes but I need help calling a subroutine. I am a student so please dis-regard my ignorance. First let me give you some background so that maybe you can help me. The program that I am supposed to develop is quite simple. It requires 2 subroutines that do seperate...
  20. riveradd

    New house being built

    Thanks for all your of your input. This definitely puts me in the right direction. I think I will install the conduit only because one never knows when an upgrade will be required and since this is probably going to be my retirement home (no I'm not that old. I don't plan on building another...

Part and Inventory Search

Back
Top