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
 

 

Maximum lines in COBOL Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Maximum lines in COBOL Program
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: 151
Location: Tokyo, Japan

PostPosted: Thu Jun 24, 2004 1:13 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: regarding max no of limes in cobol
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    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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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