MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Carriage Return - Line Feed Problem

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mdizon02
Beginner


Joined: 14 Nov 2006
Posts: 2
Topics: 1

PostPosted: Tue Nov 21, 2006 2:02 am    Post subject: Carriage Return - Line Feed Problem Reply with quote

Hi Guys, I am having problems displaying text in a terminal.

I used the following element as line feed:
Code:

PIC X VALUE X'0A'
PIC X VALUE X'0D'


When I run the program and created a log file it works fine. The text has been displayed in the next line.

But when the program is run and the output text is displayed in a different terminal, the line feed does not work. I only get a square like symbol.

Is there a different hex value for line feed for different terminals?

Thanks.
Back to top
View user's profile Send private message AIM Address
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Tue Nov 21, 2006 3:12 am    Post subject: Reply with quote

mdizon02,

I can only guess (which terminal, cics, ims, tso, what type of file ?????): Linefeed has diffrent hex values in ascii / ebcdic.

May be some output devices work with ascii, other with ebcdic.

bauer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group