Column and field in cobol program, COBOL Programming

Column and Field in COBOL program:

In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and margin B entries start from the column 12 or anywhere after 12.

An asterisk (*) in the column 7 specifies a comment line and the entry is not compiled to produce the object code. The Comment lines are actually some notes revealing the intentions of the programmer. As the compiler ignores them, anything can be included as comments. The Comment lines can appear anywhere after the first line of the COBOL program. The comment line can also be indicated by using the character slash ( / ) in the column 7. But in this case the comment line will be printed after causing a page ejection (that is, after skipping to the top of the next page).

 

Posted Date: 10/16/2012 3:22:30 AM | Location : United States







Related Discussions:- Column and field in cobol program, Assignment Help, Ask Question on Column and field in cobol program, Get Answer, Expert's Help, Column and field in cobol program Discussions

Write discussion on Column and field in cobol program
Your posts are moderated
Related Questions
Data Division: The Data Division is a part of the COBOL program where every data item processed by the program is described. It is very important to note that unless a data

CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

Illustration of Renames clause: In the illustration, PAT-OTHER-THAN-BASIC will become a fresh group consisting of DEARNESS-ALLOWANCE, HOUSE-RENT & MTHLY-INCENTIVE. Keep in min

What is the difference between subscript and index

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda

calculate simple interest

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment