IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How can i declare spanned records in assembler program?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
GAFUR

New User


Joined: 19 May 2005
Posts: 31

PostPosted: Mon Apr 07, 2008 7:35 pm
Reply with quote

Hello Guys,

I have a basic question about coding of spanned records in assembler program.

I have worked lot on non spanned VSAM records.
Now the question is how to create a spanned record?
what are things that i should take care for as compared to non spanned VSAM records (for eg in ACB,RPL macros also in JCL and DS section).


Please pass your suggestions.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Apr 07, 2008 7:56 pm
Reply with quote

I didn't think that VSAM natively supported spanned records...
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Apr 08, 2008 7:58 pm
Reply with quote

Hi !

For seq. Files:

A spanned record is a variable-length record in which the length of the record can exceed the size of a block. A record is called spanned record if it is split between two or more blocks.

For Vsam:

Spanned records are logical records that are larger than the CI size. To have spanned records, the file must be defined with the SPANNED attribute at the time it is created. Spanned records are allowed to extend across or span control interval boundaries. The RDFs describe whether the record is spanned or not.

Spanned records are needed when the application requires very long logical records. A spanned record may be the data component of an AIX cluster. If spanned records are used for KSDS, the primary key must be within the first control interval. Refer toAlternate indexes.

For closer information plse look at IBM.COM, search for VSAM Redbooks,
Title: VSAM Demystified

Regards, UmeySan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
Search our Forums:

Back to Top