VM/CMS Execution

To execute the Translator directly, without using the interactive screens, execute the CTF30E EXEC procedure from the Ready prompt:

CTF30E cobolfn cobolft masterfn <( options <)>>

where:

cobolfn
Is the file name of the input COBOL FD.

cobolft
Is the file type of the input COBOL FD.

masterfn
Is the file name of the output Master File.

Options include:

Name

Description

n

SUFFIX n
File Type (SUFFIX=)
FIX, COM, VSAM, ISAM
NAMELEN n
Field Name Length
12, 30
SKPDASH n
Skip 'n' Hyphens in COBOL Name
0, 1, 2, 3
HYPHEN n
Remove HyphenS or Use UnderBars
removeS, underBars
GROUPNM n
Generate GROUP Fields
All, None, Printable only
REDEF n
Generate REDEFINE Fields
Comments, None, Segments
LEV88 n
Generate LEVEL 88 as Comments
Yes, No
OCCURS n
Describe Occurs as Segments
Yes, No
ZONED n
Zoned Numeric Field Usage       
Packed, Alpha
EDITOPT n
Numeric Field Edit Options      
S, C, B, R, M, N, L combinations
LONGPACK n
Long Packed Fields              
Yes, No
TEMPFM n
File mode for temporary files   
A - Z
 

The LONGPACK option does not appear on the online menu; it is set automatically based on the software release that you are executing. Enter Y for LONGPACK if your software release supports long packed fields (packed fields with 16 or more digits). Enter N if your software release does not support long packed fields. The TEMPFM option identifies the read/write disk to use for temporary files crated by the Translator. By default, the translator uses the read/write disk with the largest available space.

The following example translates the COBOL FD INPUT COBOL to the Master File OUTPUT MASTER, with SUFFX = FIX and hyphens replaced with underbars:

CTF30E INPUT COBOL OUTPUT (SUFFIX FIX HYPHEN B

Information Builders