Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Easytrieve / vsam lrecl question.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Sun Dec 14, 2008 11:28 pm    Post subject:
Reply with quote

Hi Frank,

Your 1st post answered my queries regarding VSAM V input and non-vsam VB output.

This is an another scenario,

I am trying to add records into a VSAM V file(max LRECL 69) using easytrive program,

for the same VSAM V file, if I initialize the record and write that new record into VSAM V file, it is showing the length of the record as 73.

Please let me know, if u require more details.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Dec 15, 2008 1:19 am    Post subject:
Reply with quote

Hello,

This has been split from your topic in the DFSORT part of the forum.

Post the file definition from the Easytrieve program, the code you use to add records, and the jcl for that step. Also, post the IDCAMS DEFINE (and jcl) for the vasam file creation.
Back to top
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Tue Dec 16, 2008 12:01 am    Post subject:
Reply with quote

Hi,

VSAM V File defined as:

DEFINE CLUSTER -
( NAME ( TEST.VSAM.SYSTEM.CONTROL ) -
FREESPACE ( 00 00 ) -
KEYS ( 11 0 ) -
RECORDSIZE ( 52 69 ) -
SHAREOPTIONS ( 2 3 ) SPEED TO ( 2099365 ) -
DATACLASS ( PVSAM000 ) ) -
DATA -
( NAME ( TEST.VSAM.SYSTEM.CONTROL.D ) -
CISZ ( 4096 ) -
RECORDS ( 115200 23040 ) -
VOLUMES ( DATVOL ) ) -
INDEX -
( NAME ( TEST.VSAM.SYSTEM.CONTROL.I ) -
CISZ ( 1536 ) -
VOLUMES ( IDXVOL ) )
IF LASTCC NE 0 THEN SET MAXCC=16


I am adding records in to this VSAM V file using easytrieve code.
In the eastrieve code, I have initialized the record with Spaces and after processing, the record is being added to VSAM V file.

When the file is updated i did not find anything wrong, but when I use this VSAm V file to Sort copy it into a SAM file it failed with

ICE217A 3 73 BYTE VARIABLE RECORD IS LONGER THAN 69 BYTE MAXIMUM FOR SORTOUT

Let me know incase you need any other details.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 16, 2008 1:35 am    Post subject:
Reply with quote

Hello,

This was "covered" in your other topic in the DFSORT part of the forum. . .

You have to use 73 - not 69 for SORTOUT, if i understand what is happening.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts WER247A incompatible lrecl Danielle.Filteau SYNCSORT 8 Tue May 02, 2017 4:04 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us