Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: VSAM doubt <- QUESTION
> I am a newbie in the vast world of VSAM. I came across couple of doubts
> in my very long and twisted learning curve. I would be really
> greatefull if  someone can help me out?
>
> Question 1
> ----------
> Can a VSAM File act like a GDG BASE. i.e it should be like a GDG whose
> any version and all version acts like a VSAM, with a .DATA and .INDEX
> part.
>
> Question 2
> ----------
> In the SORT PGM utility when we give a VSAM file to be sorted, what
> exactly does the sort utility do. Does it sort the VSAM INDEX only or
> VSAM Data only or Both. To be more accurate how does the SORT utility
> funciton ?
>

First, I don't how they teach English over there but this drives me nuts!
You do not have a "doubt", you have a "question". You doubt something that
you think is untrue. You question something that you do not know. You
do not know if a VSAM file can be a GDG, therefore you have a question.
If I told you a VSAM file has chocolate ice cream hidden in the index
you would doubt that it was the truth.

#1. No, a VSAM cannot be a GDG base or a GDS (Generation DataSet).
Only sequential files can be a GDG's

#2 Sort will read a (KSDS) VSAM file sequentially from beginning to
end as if it were a flat file. The index contains informational
pointers to the data component to read in key sequence. Functionally,
it is read like a flat file. Once read, the data is treated as any other
data by sort. VSAM can be output as well. You can load an empty or
reuse VSAM file with sort. You must be sure the data is in key
sequence with no duplicates.


Report this thread to moderator Post Follow-up to this message
Old Post
Ron
08-18-05 10:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:10 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.