MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I need some info on eazytrieve

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
vallabhaneni
Beginner


Joined: 26 Dec 2002
Posts: 23
Topics: 7

PostPosted: Tue May 06, 2003 8:24 pm    Post subject: I need some info on eazytrieve Reply with quote

Hi All,

I need to generate 5 five differnet files using eazytrieve.

My input: one file and one copy book in cobol

My output:is 5 files using the file and copy book.


In past I generated reports using eazytrieve.

I generated only one file.

Now I need to generate 5 files.

Already I created five copy books in my eazytrieve program.

How can I use move in eazytrieve.

Give me some idea

Thanks
Vallabhaneni
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
rasprasads
Beginner


Joined: 10 Dec 2002
Posts: 59
Topics: 20
Location: Chennai

PostPosted: Tue May 06, 2003 8:59 pm    Post subject: Reply with quote

Vallabhaneni,

Can you please give a more detailed description of your requirement ?
_________________
Rasprasad S
Back to top
View user's profile Send private message
vallabhaneni
Beginner


Joined: 26 Dec 2002
Posts: 23
Topics: 7

PostPosted: Wed May 07, 2003 11:30 am    Post subject: Reply with quote

Hi Rasprasad,

I have a file1.

I need to write a 5 different files using file1 in eazytrieve.

I have occurs clauses in that file.

are you getting my point.

Thanks
Vallabhaneni
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
akshaj
Beginner


Joined: 30 Dec 2002
Posts: 12
Topics: 8

PostPosted: Wed May 07, 2003 7:28 pm    Post subject: Reply with quote

Hi ,
If u've say occurs 5 times in the input and u want to write data unter under each occurs to a different file use index.

logic would be something like this

if index 1
put file2
if index 2
put file3

etc.,
Back to top
View user's profile Send private message
vallabhaneni
Beginner


Joined: 26 Dec 2002
Posts: 23
Topics: 7

PostPosted: Wed May 07, 2003 9:33 pm    Post subject: Reply with quote

Thanks for your info.

But I have a big file the length is 14100.
I need to make it 5 five parts.
My logic was not based on subscript.

When I am doing move I got occurs clause.
I declared subscript and
I wrote logic like

move proc to proc1
move hcps to hcpc1
move +1 to sub
do while until sub1 > 9
move code to code1
add +1 to sub
end-do

Thanks
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group