View previous topic :: View next topic
|
Author |
Message |
goswamirajat Warnings : 2 New User
Joined: 26 Oct 2007 Posts: 6 Location: India
|
|
|
|
"Organization is Line Sequential" or "Organization is Sequential". Are they both same and what is the default file structure in Mainframe if we do nt mention any Organization? |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Thanks for the reply but this is not i m looking for. |
Maybe because You didn' t look well,
I just checked the link and found that,
if You had scrolled, or clicked the links at the bottom of the page,
You would have found that...
line sequential files are "unix like" files,
no concept of record, just a continuous stream of chars
they can be allocated only on HFS volumes... path and all that |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
As for your default question from the same publib.boulder:
Quote: |
Specifying a file organization and access mode
In the FILE-CONTROL paragraph, you need to define the physical structure of a file and its access mode:
FILE-CONTROL.
SELECT file ASSIGN TO FileSystemID-Filename
ORGANIZATION IS org ACCESS MODE IS access.
For org, you can choose SEQUENTIAL (the default), LINE SEQUENTIAL, INDEXED, or RELATIVE.
For access, you can choose SEQUENTIAL (the default), RANDOM, or DYNAMIC.
Sequential and line-sequential files must be accessed sequentially, but for indexed or relative files, all three access modes are possible.
|
Next time please try to explore a bit after a link has been offered |
|
Back to top |
|
|
dr_te_z
New User
Joined: 08 Jun 2007 Posts: 71 Location: Zoetermeer, the Netherlands
|
|
|
|
goswamirajat wrote: |
"Organization is Line Sequential" |
This definition is used for unix or windows platforms. it enables you to process textfiles (like those produced by notepad) in your COBOL program. Each record is delimied by a CR/LF and trailing spaces are eliminated.
This format (as far as i know) is not supported by IBM Cobol compilers (not even the AIX version). |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Enrico,
Its not only the LINK which I posted yesterday, Rajat's reply post in response to mine had been removed. |
|
Back to top |
|
|
|