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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


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