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
 
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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