Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
what is meant by placing d in 7th column of a program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
pushpa

New User


Joined: 16 Jun 2005
Posts: 6
Location: bangalore

PostPosted: Fri Jun 24, 2005 11:18 am    Post subject: what is meant by placing d in 7th column of a program?
Reply with quote

HI

Anybody let me know

what d represents while placing it in 7 th column of a cobol program?

I tried by placing it in 7th column the compiler doesn't recognizes that statement and it won't give any error to that.

Thanks in advance
Back to top
View user's profile Send private message

subhasis_50

Moderator


Joined: 09 Mar 2005
Posts: 363
Location: Earth

PostPosted: Fri Jun 24, 2005 12:16 pm    Post subject: Re: what is meant by placing d in 7th column of a program?
Reply with quote

Hi,
It is used for Debugging purpose.
Check the followings:

http://search400.techtarget.com/tip/1,289483,sid3_gci518047,00.html
http://publib.boulder.ibm.com/html/as400/v4r5/ic2924/index.htm?info/db2/rzajpmst46.htm
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3lr10/APPENDIX1.4.1?SHELF=&DT=20020920180651&CASE=
Hope it helps
Back to top
View user's profile Send private message
ashcall

New User


Joined: 07 May 2007
Posts: 1
Location: delhi

PostPosted: Thu Jun 04, 2009 4:37 pm    Post subject: Re: what is meant by placing d in 7th column of a program?
Reply with quote

hi cobol compiler recognizes only 8th column



pushpa wrote:
HI

Anybody let me know

what d represents while placing it in 7 th column of a cobol program?

I tried by placing it in 7th column the compiler doesn't recognizes that statement and it won't give any error to that.

Thanks in advance
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8151
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 04, 2009 4:55 pm    Post subject:
Reply with quote

ashcall, actually the compiler recognizes and uses all columns 1 through 72. Columns 1 through 6 can hold a sequence number which the compiler recognizes. Column 7 can contain an asterisk or a compiler directing code such as D or / (for debugging and page eject respectively), and COBOL statements can be between columns 8 and 72 (depending on the statement, some can only start in column 12 or later). The compiler also recognizes columns 73 through 80 but treats anything in those columns as a comment.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Thu Jun 04, 2009 7:50 pm    Post subject: Re: what is meant by placing d in 7th column of a program?
Reply with quote

ashcall wrote:
hi cobol compiler recognizes only 8th column

Ah, I still remember the days when col 8 was all we had:
Code:
----+----1----+
       M
       O
       V
       E

       A

       T
       O

       B
       .
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 05, 2009 12:39 am    Post subject: Reply to: what is meant by placing d in 7th column of a prog
Reply with quote

Quote:
Ah, I still remember the days when col 8 was all we had:

Made for an impressive number of Lines-of-Code (LOC) icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 05, 2009 12:42 am    Post subject: Reply to: what is meant by placing d in 7th column of a prog
Reply with quote

Hello ashcall and welcome to the forum icon_smile.gif

Please note that this topic has been inactive for 4 years.

Enjoy the forum icon_exclaim.gif

d
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 column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us