Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What are GSAM & QSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
anand tr

New User


Joined: 12 Aug 2008
Posts: 41
Location: chennai

PostPosted: Thu Aug 14, 2008 1:42 pm    Post subject: What are GSAM & QSAM
Reply with quote

What are GSAM and QSAM accessing methods? How do they differ from VSAM?
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Aug 14, 2008 2:06 pm    Post subject: see below link hope it will help
Reply with quote

http://ibmmainframes.com/archive/o_t__t_2276__start_0__index.html
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 14, 2008 4:01 pm    Post subject:
Reply with quote

Hi,

Further, In IBM mainframe OS, a queued sequential access method (QSAM) is one of the access methods for files. QSAM files are unkeyed, with the records placed one after another, according to entry order. A program can process these files only sequentially, retrieving (with the READ statement or GET macro instruction) records in the same order as they are in the file. Each record is placed after the preceding record.

QSAM files can be on tape, direct access storage devices (DASDs), unit-record devices, and terminals. QSAM processing is best for tables and intermediate storage.

From COBOL point of view, to process QSAM files in a program, a programmer could use COBOL language statements that identify and describe the QSAM files in the ENVIRONMENT DIVISION and the DATA DIVISION.

After a record is created, its length or its position in the file cannot be changed, and it cannot be deleted. QSAM files can, however, be updated on DASD (using REWRITE). The record definitions that are coded in COBOL program and the length of the variables read into and written from determines the amount of data transferred.
Back to top
View user's profile Send private message
Young zhang

New User


Joined: 13 Jun 2008
Posts: 15
Location: china

PostPosted: Fri Aug 15, 2008 12:54 pm    Post subject:
Reply with quote

Oh!! hi guys, this is a good question!! I will learn it a lot.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 18, 2008 2:26 pm    Post subject: Re: What are GSAM & QSAM
Reply with quote

Hi,
anand tr wrote:
..How do they differ from VSAM?
Just re-read the question again, hopefully you are aware about VSAM, in case you are not, click on this text..
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Aug 18, 2008 2:31 pm    Post subject:
Reply with quote

Hi Young,
Young zhang wrote:
Oh!! hi guys, this is a good question!! I will learn it a lot.
Just surf aroung the forum a little, you will find many more such threads..enjoy being one of the learner of Mainframes.. icon_smile.gif
Back to top
View user's profile Send private message
Young zhang

New User


Joined: 13 Jun 2008
Posts: 15
Location: china

PostPosted: Mon Aug 18, 2008 3:13 pm    Post subject:
Reply with quote

Anuj D. wrote:
Hi Young,
Young zhang wrote:
Oh!! hi guys, this is a good question!! I will learn it a lot.
Just surf aroung the forum a little, you will find many more such threads..enjoy being one of the learner of Mainframes.. icon_smile.gif

Yes. icon_biggrin.gif
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts GSAM from IMS online Appu IMS DB/DC 4 Tue Dec 29, 2015 6:25 pm
No new posts GSAM conversion in IMS DB to DB2 migr... asukumar IMS DB/DC 2 Tue Feb 18, 2014 1:12 pm
No new posts Capture Input GDG base names into QSA... puneetvirmani143 DFSORT/ICETOOL 2 Wed Mar 14, 2012 4:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us