Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

"Organization is Line Sequential"?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: "Organization is Line Sequential"?
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: 356
Location: New York

PostPosted: Mon Oct 29, 2007 12:07 pm    Post subject: Reply to: "Organization is Line Sequential"?
Reply with quote

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

http://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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Oct 29, 2007 12:10 pm    Post subject: Reply to: "Organization is Line Sequential"?
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Oct 29, 2007 7:33 pm    Post subject:
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    Post subject: Re: "Organization is Line Sequential"?
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Oct 30, 2007 3:46 pm    Post subject: Reply to: "Organization is Line Sequential"?
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: 1439
Location: Bangalore,India

PostPosted: Tue Oct 30, 2007 4:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Multi row fetch - "for read only... Nileshkul DB2 3 Sun Aug 14, 2016 12:52 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us