Posted: Sun Aug 17, 2003 5:11 am Post subject: variable length record sequential files
I want to work on vb sequential files(non vsam) , i know how to access in cobol program , but i dont know how to create vb files neither thru jcl or tso options.It would be great favour if any one can help me.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Sun Aug 17, 2003 10:15 am Post subject:
Well, it depends on what you want the records in your VB data set to look like.
If you just want some test data to play with, you could use DFSORT to convert FB records to VB records, as discussed in the "FB to VB conversion" Smart DFSORT Trick at:
//S1 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD *
TEST RECORD 01 AAA
TEST RECORD 02 BBBBBBB
TEST RECORD 03 CC
TEST RECORD 04 DDDDDDDDDD
/*
//SORTOUT DD DSN=userid.MYVB.IN,DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(5,5)),UNIT=SYSDA
//SYSIN DD *
OPTION COPY
OUTFIL FTOV,VLTRIM=X'40'
/*
If you want something more specific, you need to tell us what you want. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum