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 

Moving + to Carriage Ctl

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


Joined: 24 Feb 2005
Posts: 33
Topics: 17

PostPosted: Tue Mar 15, 2005 4:53 pm    Post subject: Moving + to Carriage Ctl Reply with quote

What statement should I use to move '+' to Carriage Control. Is there
any reserved word I should use. Any help is appreciated.


FD PRINT-FILE
LABEL RECORDS ARE STANDARD
DATA RECORD IS PRINT-REC.

01 PRINT-REC.
03 CARRIAGE-CTL-CHAR PIC X.
03 PRINT-LN PIC X(132).


Carriage Controls
---------------------
1 ==> Top-of-page is 1 in column 0.
blank ==> Advance 1 line is blank in column 0.
0 ==> Advance 2 lines is 0 in column 0.
- ==> Advance 3 lines is "-" in column 0.
+==> Plus (+) suppresses the line feed, and is usually the overstrike control.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Mar 16, 2005 8:38 am    Post subject: Reply with quote

lacoe1,


What is stopping you from coding like this?

Code:

MOVE '+'    TO CARRIAGE-CTL-CHAR


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Wed Mar 16, 2005 12:27 pm    Post subject: Reply with quote

Lacoe1,
Try WITH NO ADVANCING phrase. refer to manuals for more information.
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