IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Initialize an output record in Eazytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rgarg

New User


Joined: 15 Feb 2006
Posts: 18

PostPosted: Mon Apr 03, 2006 6:53 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Apr 04, 2006 3:04 pm
Reply with quote

No i dont think so it does not have any explicit verb. But it intialize working storage variable automatically
]
Back to top
View user's profile Send private message
rgarg

New User


Joined: 15 Feb 2006
Posts: 18

PostPosted: Tue Apr 04, 2006 3:11 pm
Reply with quote

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
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Tue Apr 11, 2006 4:56 pm
Reply with quote

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
View user's profile Send private message
rgarg

New User


Joined: 15 Feb 2006
Posts: 18

PostPosted: Wed Apr 12, 2006 2:32 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top