IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

"Organization is Line Sequential"?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
goswamirajat
Warnings : 2

New User


Joined: 26 Oct 2007
Posts: 6
Location: India

PostPosted: Mon Oct 29, 2007 11:25 am
Reply with quote

"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
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Oct 29, 2007 12:07 pm
Reply with quote

Just refer th following link. You may find some information. I could find it from google.

groups.google.co.in/group/comp.lang.cobol/browse_thread/thread/1316817e11f3b2fd/1aa3af1e94ff52b7?hl=en&lnk=st&q=difference+between+line+sequential+and+sequential#1aa3af1e94ff52b7

KSK
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Oct 29, 2007 12:10 pm
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 29, 2007 7:33 pm
Reply with quote

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 icon_idea.gif
Back to top
View user's profile Send private message
dr_te_z

New User


Joined: 08 Jun 2007
Posts: 71
Location: Zoetermeer, the Netherlands

PostPosted: Tue Oct 30, 2007 3:37 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Oct 30, 2007 3:46 pm
Reply with quote

http://publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol4.doc/tplsq01.htm


I do not know for what reason but the link disappeared from the thread
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Tue Oct 30, 2007 4:05 pm
Reply with quote

Enrico,

Its not only the LINK which I posted yesterday, Rajat's reply post in response to mine had been removed.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
Search our Forums:

Back to Top