View previous topic :: View next topic
|
Author |
Message |
laura
New User
Joined: 26 Jul 2005 Posts: 2
|
|
|
|
Hi,
I have a problem and no solution....
I want to copy a vsam Ksds to a sequential dataset but i have an error
REPRO IFILE(VSAM) ODS(FILESEQ)
IKJ56228I DATA SET FILESEQ NOT IN CATALOG OR CATALOG CAN NOT
BE ACCESSED
IDC0005I NUMBER OF RECORDS PROCESSED WAS 0
I think the problem is the allocation of the sequential dataset.
I read that the LRECL is 4 bytes more than the maximum lrecl of the vsam.
Now, my vsam is:
RECORDSIZE (66 4000) -
I put, for sequential dataset, RECFM=FB,LRECL=4004,BLKSIZE=4004
and the error is the same....
What can I do????
Thanks. |
|
Back to top |
|
|
andy6703
New User
Joined: 25 Jul 2005 Posts: 14
|
|
|
|
Hi laura,
Since the error reads dataset not in catalog or catalog not found, there may be some problem with allocation. If your file is not cataloged, you need to specify the volume serial no. of the volume where your file resides. Hope this helps. Any changes/enhancements most welcome.
Regards,
Anuradha. |
|
Back to top |
|
|
alamelu
New User
Joined: 18 Jul 2005 Posts: 15
|
|
|
|
Try by Giving
"RECFM=VB,LRECL=4004,BLKSIZE=4004" |
|
Back to top |
|
|
laura
New User
Joined: 26 Jul 2005 Posts: 2
|
|
|
|
I allocate the sequential like
"RECFM=VB,LRECL=4000,BLKSIZE=4004"
and the job end with return code 00
Thanks a lot. |
|
Back to top |
|
|
|