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: 8195
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: 1250
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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm

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