1. I want to know all the simple complicated commands that are required to debug a simple Cobol program.
2. how to debug the Cobol code in reverse order also
How to debug a simple cobol program using xpeditor?
Moderator: Moderator Group
-
- Member
- Posts: 10
- Joined: Sun Jul 04, 2010 5:26 pm
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
sorry,
I only know complicated simple commands that are required to debug complex cobol programs.
also, since the computer executes commands from start to finish, i have never been interested in running my cobol code in the opposite direction.
PF1 would be a good place to start, since you are obviously too lazy to look at manuals,
which will be at your site, as well as other documentation.
I only know complicated simple commands that are required to debug complex cobol programs.
also, since the computer executes commands from start to finish, i have never been interested in running my cobol code in the opposite direction.
PF1 would be a good place to start, since you are obviously too lazy to look at manuals,
which will be at your site, as well as other documentation.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
-
- Member
- Posts: 10
- Joined: Sun Jul 04, 2010 5:26 pm
Thanks for the reply....
i am very new to this tool ... i had one more question ..
suppose i had program that reads a file(10000 records) and move the data to some other ws-item because of the bad data i got SOC7. but i want to know at what record this soc7 had been raised it using xpeditor tool.
i am very new to this tool ... i had one more question ..
suppose i had program that reads a file(10000 records) and move the data to some other ws-item because of the bad data i got SOC7. but i want to know at what record this soc7 had been raised it using xpeditor tool.
Anil-Sani
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
wrong tool for the job.but i want to know at what record this soc7 had been raised it using xpeditor tool.
use the verify statement of your sort product to determine which record contains the bad data.
Or, change your program to determine when you have non-numerics and display the bad record number as well as the data that is contained. This type of pseudo-proofing code is normally in a well written program if you know or fear that you have input data that is output from a poorly written sub-system.
you use xpeditor to debug program logic, not to find bad data in input files.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
I agree with Dick comments.
To resolve S0C7 refer following...
http://www.mainframegurukul.com/ibmmain ... light=s0c7
For XPEDITER tutorial refer..
http://www.mainframetutorials.com/XPEDITER.html
To resolve S0C7 refer following...
http://www.mainframegurukul.com/ibmmain ... light=s0c7
For XPEDITER tutorial refer..
http://www.mainframetutorials.com/XPEDITER.html
Natarajan
Chennai
Chennai
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page