View previous topic :: View next topic
|
Author |
Message |
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
Hi all,
I have created one fixed block sequential file with LRECL=250, the return code is 0 but when i go to the propertied of that data set it giving LRECL=133, is it fixed or there is any reason
again i changed the LRECL to 300 in my code even then the LRECL for that dataset is 133
please help me in this
Thanks & Regards,
pradeep |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Pradeep
I think its better if you pate your code here so that we can check is there any problem in it
Regards
Rupesh |
|
Back to top |
|
|
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
Hi rupesh,
My code is like this
//JOB CARD
//STEPFIX EXEC PGM=IEFBR14
//DDFIX DD DSN=PRDEEP.TEST.DSET,DISP=(NEW,CATLG,DELETE)
// VOLUME=SER=V100U, UNIT=SYSDA,SPACE=(TRK(20,10),RLSE),
// DEC=(RECFM=FB,LRECL=350,BLKSIZE=32720)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//
Please check this, send me reply
Thnaks,
pradeep |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Try the following code.
Code: |
//STEP01 EXEC PGM=IEFBR14
//DDFIX DD DSN=KOTHARU.TEST.D0109,DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(20,10),RLSE),
// DCB=(RECFM=FB,LRECL=350,BLKSIZE=3500)
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
// |
I got the LRECL =350 as following
Code: |
Record length . . . : 350 |
Hope it will solve your problem
Regards
Rupesh |
|
Back to top |
|
|
mainframesguru
New User
Joined: 24 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
Hi,
One Suggestiong:
Its better not to Code BLKSIZE, system would assign appropriate value for it.
Try your first code without using BLKSIZE, it would surely work.
The Reason for your LRECL error is, BLKSIZE is not multiple of LRECL
Thanks
Vamshi
ICC-ISH |
|
Back to top |
|
|
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
Hi vamsi,
But i reffered the properties of some of my dataset the BLKSIZE is 32720 and the LRECL is 80. what is this our point of view
please help me na,
Thanks & Regards,
pradeep |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Pradeep,
Whenever we mention BLKSIZE it should be multiple of LRECL.
In BLKSIZE = 32720 is multiple of LRECL=80.
I hope it will clear your doubt.
Regards
Rupesh |
|
Back to top |
|
|
ksivapradeep
New User
Joined: 30 Jul 2004 Posts: 95
|
|
|
|
Hi rupesh,
Thanks for ur patience, my doubt is how many records will store for the BLKSIZE=32720 and LRECL=80. i didnt get the multiple of LRECL
thanks,
pradeep |
|
Back to top |
|
|
|