HVTO Search Engine
OUTPUTLINKS ONLY
600+ HVTO SITES
HVTO Columnists Guide
In This Section

OutputLinks columnists are leading HVTO experts. Our columnists regularly publish insights and thought leadership on the latest management and technical topics related to rapidly changing HVTO industry.

Contact a Columnist

All emails are read, but columnists cannot respond to each query because of the volume of email received. When contacting a specific columnist, please put his name in the subject line of your email. Thanks!

Frequently Asked Questions

AFP Answers & Wisdom

AFP Frequently Asked Questions

Peruse the wisdom shared and questions answered by some of the HVTO industry’s premier AFP talents. Feel free to submit your questions to AFPGuru@OutputLinks.com.

Article
May 30, 2006

 

CCTYPE Differences                  

 

 

Question: I am using ACIF to generate an AFPDS file from line data files, created with legacy applications, that use either machine carriage controls or ANSI carriage controls. I know that the carriage control types are similar in their functions, but I would like to know the main differences. What determines when I should select CCTYPE=A, CCTYPE=M, or CCTYPE=Z?

 

Answer: ANSI carriage control is the most widely used carriage control type and is represented by a single character occurring as the first character of a print record.

 

ANSI carriage controls:

·        SPACE is used for: Single space the line and print

·        0 is used for: Double space the line and print

·        - is used for: Triple space the line and print

·        + is used for: Don’t space the line and print

·        1 is used for: Skip to channel 1 (Top of Form)

·        2–9 is used for: Skip to a position on the page (usually hardware-defined)

·        A,B,C is used for: Defining a vertical tab record or FCB

 

Note: All ANSI carriage controls perform any defined spacing movement prior to printing the line.

 

CCTYPE=A is used to interpret ANSI controls in EBCDIC.

CCTYPE=Z is used to interpret ANSI controls in ASCII.

 

 

Machine carriage controls:

·        X'09' is used for: Print the line and single space

·        X'11' is used for: Print the line and double space

·        X'19' is used for: Print the line and triple space

·        X'01' is used for: Print the line and don’t space

·        X'0B' is used for: Space one line immediately

·        X'89' is used for: Print the line, then skip to Top of Form

·        X'8B' is used for: Skip to Top of Form immediately

 

Note that machine controls perform printing prior to performing any defined spacing movement.

 

CCTYPE=M is used to interpret machine controls.

 

 

For more information, check out the ACIF reference materials available from IBM at:

http://www-1.ibm.com/support/search.wss?rs=95&lang=all&loc=en_US&r=10&cs=utf-8&rankfile=0&cc=us&spc=&stc=&apar=exclude&dr=all&q1=acif&sort=desc&tc=&Go.x=6&Go.y=5&dc=DA410+DA450&dtm .

 

and

 

If you would like some additional information on ACIF, contact COPI at: 1-888-999-COPI or visit www.888999copi.com

 

 

 

 

 

 

Rate This Article
Fullname
Company Name
Email Address
Rating