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
 

 

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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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