IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

New line character/Carriage Return


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhishek mitra

New User


Joined: 24 Feb 2008
Posts: 48
Location: Kolkata

PostPosted: Tue Aug 04, 2009 6:55 pm
Reply with quote

Hi,

I am stuck up in a case as follows -

Say i have 3 strings as 'A' 'B' and 'C'.

now I want to string them together and th final jointed String will be thrown to sysout.
The sysout should display 'A', 'B' and 'C' in three new lines.

I can do it by simply using three indiviual displays. But I need to know is there any technique to put newline characters/Carriage return?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Aug 04, 2009 6:59 pm
Reply with quote

Mainframe printers use the first column for carriage control and do not therefore recognize newline or carriage return characters.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top