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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read/Find Value for a COMP-2 field in COBOL

Status
Not open for further replies.

BMP

Programmer
Aug 22, 2001
1
US
Hi,
I have a COMP-2 field in a COBOL program. This field is passed as a parameter in a call to a Fortran subroutine. Now there is an error because the field passed is not valid. I put a display for COMP-2 field in my program. But I don't know how to read a COMP-2 field. How can I determine the value of COMP-2 field. Has anyone encountered this before?
 
What compiler are you using? COMP-2 is an implementor extension in all dialects of COBOL. What does your MANUAL say about COMP-2 fields?

Stephen J Spiro
Member, J4 COBOL Standards Committee
check it out at

stephenjspiro at hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top