Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can i declare spanned records in assembler program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
GAFUR

New User


Joined: 19 May 2005
Posts: 32

PostPosted: Mon Apr 07, 2008 7:35 pm    Post subject: How can i declare spanned records in assembler program?
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
References
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1199
Location: At my desk

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

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

Senior Member


Joined: 22 Aug 2006
Posts: 627
Location: Germany

PostPosted: Tue Apr 08, 2008 7:58 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1