View previous topic :: View next topic
|
Author |
Message |
rgarg
New User
Joined: 15 Feb 2006 Posts: 18
|
|
|
|
Hey folks,
Is there anyway to initialize an output record in Eazytrieve?
There are say a 100 fields in the output file....of which, only 5 are being populated....the rest should be initialized(depending on whether a field is alphanumeric/numeric) |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
No i dont think so it does not have any explicit verb. But it intialize working storage variable automatically
] |
|
Back to top |
|
|
rgarg
New User
Joined: 15 Feb 2006 Posts: 18
|
|
|
|
I have read somewhere that there is RESET command which is used to reset working storage fileds to their initial value. If you please tell me how to use that. |
|
Back to top |
|
|
Jerry
New User
Joined: 16 Sep 2005 Posts: 42
|
|
|
|
Hi rgarg,
You could have a proc to initialize, using "MOVE ZERO TO <list of numeric data> and "MOVE SPACE TO <list of alphanumeric variables>" and call it everytime, you want to initialize.
CORRECT ME, IF I AM WRONG. |
|
Back to top |
|
|
rgarg
New User
Joined: 15 Feb 2006 Posts: 18
|
|
|
|
Jerry, I am afraid i am not allowed to do that. I want to read file layout automatically in easytrieve. The way u r telling i have to make these macros for every file. |
|
Back to top |
|
|
|