Question by  sinemasiren (95)

Can you help me with a start statement in COBOL?

I'm struggling with COBOL.


Answer by  gigo (1706)

COBOL is one of the oldest programming languages. The history goes back to the 1950s. An easy start statment is for example COMPUTE Res1 ROUNDED, Res2 = ((3*9)+3)/5. This should work without END-COMPUTE.


Answer by  Kmanigandan (6)

COBOL programming has IDENTIFICATION DIVISION where in author name, date of creation of program are given. Then comes DATA DIVISION where in storage requirements in primary memory and secondary memory are defined separately in working-storage section and File-section. Finally we have PROCEDURE DIVISION where programmming logic is specified using COBAL constructs.


Answer by  senthilkumar (299)

COBOL,it is the expansion of Common Business Oriented Language, it is an old programming language,it is not used now,because it having a lot of dis advantages,low speed,over time, can not be calculated easily,it is a case sensitive it mean it can be able to read only the capital alphabetics not the small alphabetics.


Answer by  gigo (1706)

Lets start with the program hello world: DISPLAY "Hello world" LINE 10 POSITION 10 You have to put this line into the main logic section.


Answer by  murali680 (559)

COBOL is one of the high levels programming language which is mainly used in old stages. Expansion of COBOL language is Common Business-Oriented Language. This language is developed during the year of 1959. This language is mainly used for finance, business and administrative purpose. COBOL-60 and 61 are the earlier version of COBOL which is evolved to the COBOL-85.


Answer by  worker8852 (129)

1. How can I call the functions, MyFunc1 and MyFunc2 from CobolExec. Cbl? 2. Should I first create another process for "MyApplication. exe" using CreateProcess from my cobol program? How shouldI do it? Could you please help me by providing your inputs on how to implement this? I greatly appreciate your help in this regard. Expecting your earliest reply.


Answer by  senthil34 (169)

The START statement positions an indexed or relative file for subsequent sequential record retrieval. When the START statement is executed,the associated indexed or relative file must be open in either INPUT or I-O mode. The SORT statement sorts the table referenced by table-name and presents the sorted table in table-name either in the order determined by the ASCENDING or DESCENDING phrases,


Answer by  fiddlefaddle (883)

When the start statement is executed, the associated indexed or relative file must be open in either INPUT or I-O mode.

You have 50 words left!