Debug ILE Cobol 400
5 pts.
0
Q:
Debug ILE Cobol 400
How can I display (Eval) subset of a filed while debugging ILE Cobol program. How can I view the content of a field from specified position and lenght. I know how to review the content for a specified lenght, but can't find a way to view part of the string from position 256 for example.

Software/Hardware used:
iSereis v6r1, ILE COBOL
ASKED: Oct 15 2009  10:41 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7785 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
Assume the field is MyCOBOLField:

Debug . . . eval %SUBSTR( MyCOBOLField 256 20 )

The EVAL debug command should display MyCOBOLField beginning in position 256 for 20 bytes.

The [help] available within debug has this information.

Tom
Last Answered: Oct 15 2009  9:14 PM GMT by TomLiotta   7785 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0