To define the input data, code:
Sample Parameters
200 tells CA Culprit that each record in the personnel file contains 200 characters (bytes).
F indicates fixed-length records.
400 indicates that the file is blocked in 400 byte segments.
PS(TAPE) specifies a physical sequential file on a tape device.
EMPLOYEE-NAME 5 25 directs CA Culprit to use the data stored in positions 5 through 25 of each record.
SALARY-AMOUNT 160 7 directs CA Culprit to use the data from positions 160 through 166 for salary information.
3 tells CA Culprit that the salary data is stored as packed decimal.
DP=2 tells CA Culprit that SALARY-AMOUNT has two decimal places.
|
Copyright © 2014 CA.
All rights reserved.
|
|