When you execute the Translator, you will see the Translator menu. On this screen, specify the current location of the COBOL file description, the target location of the resulting Master File, and any special processing options you wish to use. You may edit the input COBOL FD prior to beginning and view the output and reports when completed. |
In this section: |
The Translator menu for MVS is shown below. The Translator menu for VM/CMS follows. Default responses for the optional parameters are shown and acceptable values appear to the right of the input area. When you enter a parameter value, you are only required to type the capitalized abbreviation.
COBOL FD Translator - Version 3.0
COBOL FD Dataset Name =>
Member (if PDS) =>
MFD Dataset Name => userid.MASTER.DATA
MFD Member =>
Replace Member => N (Yes,No)
File Type (SUFFIX=) => F (Fix,Com,Vsam,Isam)
Field Name Length => 30 (12,30)
Skip 'n' Hyphens in COBOL Name => 0 (0,1,2,3)
Remove Hyphens or Use Underbars=> R (Remove,Underbars)
Generate GROUP Fields => A (All,None,Printable only)
Generate REDEFINE Fields => C (Comments,None,Segments)
Generate LEVEL 88 as Comments => Y (Yes,No)
Describe Occurs as Segments => Y (Yes,No)
Zoned Numeric Field Usage => P (Packed,Alpha)
Numeric Field Edit Options => (S,C,B,R,M,N,L combinations)
1=Help 2=Read Me 3=Exit 4=Edit FD 5=Edit MFD 6=Check MFD
7=FD List 8=MFD List 9=Header 10=Messages 11=Debugging 12=Audit
COBOL FD Translator - Version 3.0
COBOL FD Name => COBOL *
MFD Name => MASTER A
Replace MFD => N (Yes,No)
File Type (SUFFIX=) => F (Fix,Com,Vsam,Isam)
Field Name Length => 30 (12,30)
Skip 'n' Hyphens in COBOL Name => 0 (0,1,2,3)
Remove Hyphens or Use Underbars=> R (Remove,Underbars)
Generate GROUP Fields => A (All,None,Printable only)
Generate REDEFINE Fields => C (Comments,None,Segments)
Generate LEVEL 88 as Comments => Y (Yes,No)
Describe Occurs as Segments => Y (Yes,No)
Zoned Numeric Field Usage => P (Packed,Alpha)
Numeric Field Edit Options => (S,C,B,R,M,N,L combinations)
1=Help 2=Read Me 3=Exit 4=Edit FD 5=Edit MFD 6=Check MFD
7=FD List 8=MFD List 9=Header 10=Messages 11=Debugging 12=Audit
The following topics describe the Translator menu options and the values you may supply for the parameters. See Translator Options and Examples for more details and sample input and output.
The following list describes the dataset parameters in the Translator menu for MVS.
The following list describes the file name parameters in the Translator for VM/CMS.
The following list describes the file and fieldname parameters in the Translator menu.
The following list describes the parameters for the special options in the Translator menu.
S -Suppresses printing of the digit zero for a field whose value is zero.
C -Includes commas where appropriate, for example, 1,234.
B -Brackets negative values, for example, (1234).
R -Credits negative values, for example, 1234 CR.
M -Displays a floating dollar sign with commas, for example, $1,234.
N -Displays a fixed dollar sign with commas, for example, $ 1,234.
L -Displays leading zeroes, for example, 001234.
Edit options may be entered in any order and combination except for the pairs SL, MN, and BR, which are mutually exclusive.
The following list describes the purpose of the function (PF) keys in the Translator menu.
Once you have entered a COBOL FD dataset or Master File dataset name, you can display a list of existing members in the designated dataset to select a member rather than having to type it. Press the PF7 key to list members of the COBOL FD dataset. Press the PF8 key to list members of the Master File dataset. The following screen shows the member display list for the supplied COBOL FD dataset:
+----------------+
COBOL FD Translator - Version 3.0 |COBOL FD members|
COBOL FD Dataset Name => userid.CTF.COBOL +(MORE)----------+
Member (if PDS) => |MGROUP |
|MMAX4K |
MFD Dataset Name => userid.MASTER.DATA |MMAX4KOK |
MFD Member => |MOCCURSF |
Replace Member => N (Yes,No) |MOCCURSM |
|MOCCURSN |
File Type (SUFFIX=) => F (Fix,Com,Vsam,I |MOCCURSV |
Field Name Length => 30 (12,30) |MREDEF |
Skip n Hyphens in COBOL Name => 0 (0,1,2,3) |MSALES |
Remove Hyphens or Use Underbars=> R (Remove,Underba |MSALES1 |
Generate GROUP Fields => A (All,None,Print |MSALES20 |
Generate REDEFINE Fields => C (Comments,None, |MSALES22 |
Generate LEVEL 88 as Comments => Y (Yes,No) |MSKIPD |
Describe Occurs as Segments => Y (Yes,No) |M01 |
Zoned Numeric Field Usage => P (Packed,Alpha) |M1OLD |
Numeric Field Edit Options => (S,C,B,R,M,N,L |PSAFOLD |
+(MORE)----------+
1=Help 2= 3=Return 4=Edit 5=Edit 6=
7=Backward 8=Forward 9= 10= 11= 12=
The member display list shows the members from the selected partitioned dataset. Scroll the list by pressing the PF7 or PF8 key. Search for a string by entering any pattern and pressing the Enter key. The asterisk (*) is a multiple-character wild card. The question mark (?) is a single-character wild card. An equal sign (=) can be used to repeat the previous search.
You may view a member by placing the cursor on it and pressing the PF4 or PF5 key. You may select a member from this list by positioning the cursor on it and pressing the Enter key. This member name then appears on the Translator menu.
You can display a list of existing COBOL FD or Master Files from which you can select. Enter mask values in the file name, file type, and file mode, using the asterisk (*) as a wildcard to represent any number of characters. Press the PF7 key to list matching COBOL FDs. Press the PF8 key to list matching Master Files. The following screen shows the member display list for the mask 'M* COBOL *':
The file display list shows files that match the mask that you entered. Scroll the list by pressing the PF7 or PF8 key. Search for a string by entering any pattern and pressing the Enter key. The asterisk (*) is a multiple-character wild card; the question mark (?) is a single-character wild card. An equal sign (=) can be used to repeat the previous search.
You may view a file by placing the cursor on it and pressing the PF4 or PF5 key. You may select a file from this list by positioning the cursor on it and pressing the Enter key. This file name then replaces the mask on the Translator menu.
Information Builders |