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

Not taking complete inserted data in ksds.

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> VSAM - File system
  View previous topic :: View next topic  
Author Message
Nandini A
Member


Joined: 03 Dec 2012
Posts: 3
Location: India

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

PostPosted: Sun Dec 09, 2012 7:52 am    Post subject: Not taking complete inserted data in ksds. Reply with quote

hi sir/mam,
I tried to insert data in a ps file to a ksds. It contains 20 records. it was executed succcesfully but only 11 records were inserted.
remaining records are not coming. can any one tel me the reason for this plz.................
Back to top
View user's profile Send private message AIM Address
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: Sun Dec 09, 2012 1:35 pm    Post subject: Reply with quote

Just guesses, as you have given no information. Duplicate/out-of-order keys.

Information needed to stop guessing:

Relevant code.
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.
NicC
Active Member


Joined: 24 Jul 2011
Posts: 651
Location: Down on the pig farm

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

PostPosted: Sun Dec 09, 2012 3:01 pm    Post subject: Reply with quote

How do you know that all records were inserted successfully? Did you check the return code after each write and was it zero every time. Just becasue you program did not fail does not mean it worked. You need to check EVERY file operation manually - OPEN, READ, WRITE, UPDATE, REWRITE, CLOSE etc.
_________________
Regards
Nic
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.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

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

PostPosted: Sun Dec 09, 2012 10:04 pm    Post subject: Reply with quote

How did you try to insert these records?

Program, utility, other?
_________________
Have a good one
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.
Nandini A
Member


Joined: 03 Dec 2012
Posts: 3
Location: India

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

PostPosted: Mon Dec 10, 2012 6:46 am    Post subject: Reply with quote

hi, thank u fr all of ur rplies. I hv inserted those records through prgrm. I wil rply agn with cmplte informatn. Thank u
Back to top
View user's profile Send private message AIM Address
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Nandini A
Member


Joined: 03 Dec 2012
Posts: 3
Location: India

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

PostPosted: Mon Dec 10, 2012 6:55 am    Post subject: Reply with quote

hi, i hv chkd d ksds file manualy also. Means i hv opened, red n tried to write new record in tat evn it ws psible. Wen i opned it itself i came to know tat all records which vr their in input file vr nt inserted.
Back to top
View user's profile Send private message AIM Address
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 Dec 10, 2012 12:52 pm    Post subject: Reply with quote

Well, if you are unable to reveal any more about the code, or the input, then what do you expect from us?
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.
NicC
Active Member


Joined: 24 Jul 2011
Posts: 651
Location: Down on the pig farm

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

PostPosted: Mon Dec 10, 2012 1:38 pm    Post subject: Reply with quote

Please post in English - this is a forum for professionals - be professional in your presentation. I have not bothered to read your replies. If you cannot be bothered to present correctly then why should we be bothered to help? And do not say you were posting using your phone - either take the time to do it properly on the phone or wait until you get to a proper keyboard.
_________________
Regards
Nic
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.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

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

PostPosted: Tue Dec 11, 2012 12:13 am    Post subject: Reply with quote

When you ran the program, there was probably a failed vsam request. If you have not ensured that the return code for EVERY vsam request was correct, do so now.

STOP using the kiddie chat-room sms-speak. It is not cute, cool or anything related to a professional dialog. . . . Sad
_________________
Have a good one
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.
academyindia4
Guest





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

PostPosted: Tue Jan 19, 2016 12:47 pm    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
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 -> VSAM - File system 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 copy a load module mem from one pds to another thru rexx 6 meena_cts 12569 Mon Feb 01, 2016 10:55 pm
academyindia4 View latest post
No new posts Control flow from one STEP to another 9 pkaushi 29496 Mon Feb 01, 2016 10:55 pm
academyindia4 View latest post
No new posts Copy GDG to GDG (one to one). 6 arrbee 20212 Mon Feb 01, 2016 10:54 pm
academyindia4 View latest post
No new posts CICs 7 vidhya 22155 Mon Feb 01, 2016 10:47 pm
academyindia4 View latest post
No new posts A Really Nice One. Don't Miss the Moral. 0 arrbee 8147 Thu Mar 09, 2006 7:51 pm
arrbee 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-6919.html