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

Maximum lines in COBOL Program


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

New User


Joined: 12 Jun 2004
Posts: 1

PostPosted: Thu Jun 24, 2004 8:11 am
Reply with quote

Hi all,
A maximum of how much lines we can type in a COBOL Program?

Regards
S. Lazer
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Thu Jun 24, 2004 1:13 pm
Reply with quote

Is there any limit ????
I have seen many programs spanning 15000 lines including comment lines.

Regards,
Sandip.
Back to top
View user's profile Send private message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Thu Jun 24, 2004 1:37 pm
Reply with quote

hi
column no 1 to 6 are for page and line numbers...
so we can code 999999 lines in cobol..

i think it is clear to u

chenchi
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Fri Jun 25, 2004 12:36 pm
Reply with quote

I believe the num lines on the leftmost side of a member is purely informational... I try to test it but my session ended 878 abend (region related)
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Sat Nov 27, 2004 4:51 am
Reply with quote

yes accepted , this is the error I got. -878

IEA705I ERROR DURING GETMAIN SYS CODE = 878-10 NM224 ISPFPROC ISPFDD20 00
System abend code 878, reason code 00000016.
Abend in host command SELECT or address environment routine ISPEXEC.
IEA705I 00E17100 007ADAC8 007ADAC8 00007200 0001FFE0
Back to top
View user's profile Send private message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Sun Feb 27, 2005 5:54 pm
Reply with quote

Hi chinchi,

the sequence numbers consists of two things line number and page number , so max pages 999 and max lines 999 per page , the answer is 998001.
Back to top
View user's profile Send private message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Mon Feb 28, 2005 1:35 pm
Reply with quote

Hi,

U can simply tell the max line number is 999999 as first three digits specify page number and last three number specify line number.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top