For Programmers: Free Programming Magazines  


Home > Archive > Cobol > August 2004 > Line-sequential files vs. others...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Line-sequential files vs. others...
Ed

2004-08-15, 8:55 am

Hi,

Just wanted to confirm a couple of things about "line-sequential"
file. Read in the z/os docs that it means a file with only printable
chars, with each record seperated by a newline.

It also mentioned that physical records would be of different sizes as
trailing spaces are chopped off. This means that if we have a copybook
with the last entry as say 10 FILLER X(5). Then if in one record we
had a string of 3 chars the remaining 2 spaces would not be wriiten to
the file ?
ALso this would only be valid for alphanumerics as numerics are right
aligned so u'd never get trailing spaces. How about an array ? does
this rule hold for all elements in the array (unlikely) and only for
the last cell in the array (inconsistent)?

Only printable chars means DISPLAY usage. What is a file which
contains numerics with COMP's and the DISPLAY stuff mixed up called ?
Are there sequential files of this format as well ?

Is there anyplace where one can get hold of some sample sequential
ebcdic data files along with their copybooks. These seem really hard
to come by as opposed to say xml's and their xsd's !

Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com