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
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...
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
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
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.