Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Initialize an output record in Eazytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Initialize an output record in Eazytrieve
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: 1187
Location: Bangalore,India

PostPosted: Tue Apr 04, 2006 3:04 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us