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

Easytrieve : How to close physical sequential file


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 2358
Location: Israel

PostPosted: Thu Jan 31, 2008 5:38 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Jan 31, 2008 10:39 pm
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
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
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

Moderator Emeritus


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

PostPosted: Fri Feb 01, 2008 8:44 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top