Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Mon Feb 16, 2009 11:02 am Post subject:
edkir98,
Do you want to count spaces within a record or just anything that is not a space? What is the LRECL, RECFM of the dataset? _________________ Kolusu
www.linkedin.com/in/kolusu
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
Posted: Mon Feb 16, 2009 12:42 pm Post subject:
I believe a sort (maybe copy also, but not sure) displays a number of bytes sorted in SYSOUT. Try testing a sort (you can DD DUMMY SORTOUT and look at the output. _________________ ....Terry
However if you don't know the LRECL and want the program to figure it out then you will need another pass of data. we first convert the fb file into vb file which would store the LRECL in the first 2 bytes.
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