View previous topic :: View next topic
|
Author |
Message |
07wickedwizard
New User
Joined: 24 Jul 2024 Posts: 2 Location: India
|
|
|
|
Wrote my first COBOL program, but i think the code is running but at a certain point I think it is running in loops or not even taking up to read the ksds file. Can anyone check if there are any errors?
Have declared some temporary variables but haven't used them |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Look at line 42 of your code, but given that you're a du-fu, that probably won't help you. |
|
Back to top |
|
|
07wickedwizard
New User
Joined: 24 Jul 2024 Posts: 2 Location: India
|
|
|
|
I didn't get you, can you please elaborate |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
07wickedwizard wrote: |
I didn't get you, can you please elaborate |
Here you can find the explanation: Webster Dictionary
Please, read it carefully. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Can anyone check if there are any errors? |
Check what?
Use standard COBOL debugging methods -- use DISPLAY statements, code review, dumps (if any), etc. -- to figure out what is going on in your program. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
You can use Ration Developer for Z (RD/z) to debug Cobol programs. You can do debugging tasks like setting break points, and monitor variables.
note: my experience was with PLI; only assuming Cobol should work the same way. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
How do you expect anyone to help with 0 information.. so help yourself by putting some displays
Moved to beginners section. |
|
Back to top |
|
|
|