Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

CA Products :: Easytrive Redefine

$
0
0
Author: vidyaa
Subject: Easytrive Redefine
Posted: Mon Jun 19, 2017 6:01 pm (GMT 5.5)

Hi,

Am trying to redefine a file variable in easytrieve but it is not getting aligned properly

Ex: File 16 to 18 position I have the record 06A. Am defining as below

Code:

DEPT             16   3 A     HEADING ('DPT')     
DEPTMENT         16   2 A                         
DEPT-A1          18   1 A                         

but writing the output I should have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = A

Instead I have

DEPT = 06A
DEPTMEN = 06
DEPT-A1 = C --> this is the value from the second record which has 06C and takes the value from the next next record for tha DEPT-A1 alone instead of the same record.

Am not sure what is missing here where any redefine issue or some thing else.
_________________
Thanks & Regards,
Vidya


Viewing all articles
Browse latest Browse all 8500

Trending Articles