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

Cobol syntax

Status
Not open for further replies.

avodavtyan

Programmer
Sep 7, 2007
3
It's very interesting. is anyone know how I can go to next line in cobol (like c++ "\n").
 
In your manual check the BEFORE (or AFTER) keyword of the WRITE statement.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks,
but I need to go to new line in TextBox class in netCobol
there is no need for WRITE statement.
 
Try embedding a x'0D0A' in your text string. Something like the following:

STRING LIST-TIME, X'0D0A', LIST-CALL,
X'0D0A', LIST-NAME, ' ', LIST-CONTACT
X'0D0A', LIST-DESC, ' ', List-Icon
DELIMITED BY SIZE
INTO CALL-STRING

This works in Fujitsu Cobol.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top