Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : All available storage is assigned to the job or jobstep, If REGION is coded 0K or 0M

Google
 
Web mainframegurukul.com

resize of vsam file

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> EASYTRIEVE
  View previous topic :: View next topic  
Author Message
rsingh99
Member


Joined: 06 Apr 2015
Posts: 2

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Apr 06, 2015 2:24 pm    Post subject: resize of vsam file Reply with quote

hi all,

i need to know how we can split vsam file and based on segment number split the file into valid and invalid record files. a record is valid if it should be in that segment such as if account ending with 1 should be in segment 1. then i need to count the the number of error records
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

William Collins
Active Member


Joined: 24 May 2012
Posts: 714

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Mon Apr 06, 2015 7:30 pm    Post subject: Reply with quote

OK, but "segment number" in this context means something to you, nothing to anyone outside your site.

You have a range of numbers? Everything in that range goes to one file, everything else goes to another? What difficulty are you having?
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
rsingh99
Member


Joined: 06 Apr 2015
Posts: 2

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Apr 07, 2015 9:47 am    Post subject: Reply with quote

ok sorry for the confusion...lets say there are 10 vsam files a1,a2...a10. i need to read each one and write the valid records into output file(PS). and alll the invalid records into error file(PS).All this needs to be done in a single easytreive code.


thank you for your time.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> EASYTRIEVE 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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts To delete the Trailer REcord from the file 5 mkk157 11110 Mon Jan 25, 2016 10:59 pm
academyindia4 View latest post
No new posts syncsort record count 2 valis 11696 Mon Jul 19, 2010 6:15 pm
mouse13 View latest post
No new posts how to update a record in a file using easytrieve 2 Malini 8729 Fri Jan 23, 2009 12:10 pm
bata42 View latest post
No new posts How to find out the record length using tso command? 4 bsriram 17402 Fri Oct 26, 2007 12:17 am
varun View latest post
No new posts removing the duplicate record and picking up the last entery 2 pinaki_atha 7673 Fri Nov 10, 2006 3:18 am
Frank Yaeger View latest post
 


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-7848.html