Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Easytrieve : How to close physical sequential file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
kanchan Agrawal

New User


Joined: 03 Dec 2007
Posts: 4
Location: india

PostPosted: Thu Jan 31, 2008 5:14 pm    Post subject: Easytrieve : How to close physical sequential file
Reply with quote

How can i close physical sequential file in easytrieve?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 31, 2008 5:38 pm    Post subject:
Reply with quote

If you have "CA-Easytrieve Plus Application Guide", you might want to take a look at chapter 9, "File Processing". It says that CA-Easytrieve Plus automatically OPENs and CLOSEs all files.

O.
Back to top
View user's profile Send private message
kanchan Agrawal

New User


Joined: 03 Dec 2007
Posts: 4
Location: india

PostPosted: Thu Jan 31, 2008 5:55 pm    Post subject:
Reply with quote

hi ofer71


i have go through that guide. according to that, files are closed at the end of activity. Actually i want to close the file prior to end of activity.


i have to read again the file from starting. For that either i have to set the pointer at starting(but it can be done only for vsam file, not for ps file) or close the file(so that reading start from first record)
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jan 31, 2008 10:39 pm    Post subject:
Reply with quote

Hello,

If you describe the requirement (why you need to "start over" at the beginning of the file), someone may have a suggestion.
Back to top
View user's profile Send private message
G-Johnson

New User


Joined: 12 Mar 2007
Posts: 20
Location: USA

PostPosted: Thu Jan 31, 2008 11:46 pm    Post subject:
Reply with quote

Multiple jobs can exist within the same program. Any info from a prior job can be save in working storage.
Back to top
View user's profile Send private message
kanchan Agrawal

New User


Joined: 03 Dec 2007
Posts: 4
Location: india

PostPosted: Fri Feb 01, 2008 2:54 pm    Post subject: Hello,
Reply with quote

Thanks for all replies.
My problem is solved. Now I am using the 'sort' to make the file in table format. Then use the 'search' in table. so no need of reading file again and again.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Feb 01, 2008 8:44 pm    Post subject:
Reply with quote

Hello,

From the initial request, i was fairly sure of why the re-open was needed.

Good to hear that you have a far more acceptable solution.

Quote:
so no need of reading file again and again.
This is almost always the worst possible choice - it can make performance measurement and capacity planning people quite livid icon_smile.gif
Back to top
View user's profile Send private message
Premdev

New User


Joined: 05 Feb 2008
Posts: 24
Location: Coimbatore

PostPosted: Wed Mar 26, 2008 11:38 am    Post subject:
Reply with quote

Can i have a physical file read and processed in easytrieve without mention it in job statements?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Mar 26, 2008 8:15 pm    Post subject:
Reply with quote

Quote:
Can i have a physical file read and processed in easytrieve without mention it in job statements

Yes you can do it.
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us