Conversion from vb to fb file ?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Conversion from vb to fb file ?

Postby diptisaini » Tue Sep 28, 2010 2:51 pm

Hi,
//step01 DD DSN=TCLAST15.B836.AUSTRCLR.ISIN.COPY13,
// DISP=(NEW,CATLG),SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=VB,LRECL=200,BLKSIZE=28800)

My requirement is that if the length of record is exceed then 200 then the record won't be truncated but it should come on next line as shown below :-

Command ===> Scroll ===> CSR
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
****** ***************************** Top of Data ******************************
000001 HEADER 30072010 18:40PM PBAAUST
000002 2025193,,RWHF,RWHF01,000019000000.00,82,RWH FINANCE,BND 26MAR2021,260320

Then my output would be :-


Command ===> Scroll ===> CSR
=COLS> ----+----1----+----2----+----3----+----4----+----5
****** ***************************** Top of Data ******************************
000001 HEADER 30072010 18:40PM PBAAUST
000002 2025193,,RWHF,RWHF01,000019000000.00,82,
000003 ,RWH FINANCE,BND 26MAR2021,260320


Is it possible to do through any utility ?
diptisaini
 
Posts: 90
Joined: Sun Mar 14, 2010 5:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Conversion from vb to fb file ?

Postby NicC » Tue Sep 28, 2010 3:46 pm

You could do it through batch ISPF edit. I am not sure whether one of the sort products could do it without a specific 'marker' to split at. Or just write a quick rexx exec to do it.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Conversion from vb to fb file ?

Postby dick scherrer » Wed Sep 29, 2010 1:04 am

Hello,

Why is there a want/need to split a single record into multiple records? They would have to be combined again to actually be used. . .

What should happen if the original record is more than 400 bytes?

Can the split be anywhere or is there some logic/rule about where the split may occur?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post