View previous topic :: View next topic
|
Author |
Message |
vidyaa
New User
Joined: 02 May 2008 Posts: 77 Location: chennai
|
|
|
|
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. |
|
Back to top |
|
|
Benchwarmer
New User
Joined: 16 Jul 2016 Posts: 22 Location: desk
|
|
|
|
Your post does not provide enough information for others to help. Provide full code.
You may be bypassing the first record. |
|
Back to top |
|
|
vidyaa
New User
Joined: 02 May 2008 Posts: 77 Location: chennai
|
|
|
|
How to concatenate two fields in esytrive |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
You are now asking a completely different question - a new topic should be started foa new question.
Also, you have not responded to the points raised by 'Benchwarmer'. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
If you have figured out your original problem yourself, post it here for others' benefit.
If you have a completely different issue, start a new topic. |
|
Back to top |
|
|
|