where can i find the COBOL information?
i really need help coz i have to do some report on it...
and i have no idea about it.....
please help!!
asked where to find COBOL information and suggested the Internet. For a short, reliable starting point and history, see COBOL on Wikipedia. Key report topics: why COBOL was created, common business uses (batch/reporting/transaction processing), program structure (IDENTIFICATION, ENVIRONMENT, DATA, PROCEDURE), PIC clauses for data, and differences between mainframe dialects and modern compilers.
Three practical programs that illustrate those topics: (1) simple arithmetic and conditional logic (calculate sums, show results), (2) sequential file processing (read fixed-width records and compute totals), (3) formatted report output or a SORT example. Local development and testing commonly use GnuCOBOL; installation and reference are at GnuCOBOL. A minimal COBOL program to verify setup:
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
PROCEDURE DIVISION.
DISPLAY "Hello, world".
STOP RUN. Compile/run example with GnuCOBOL:
cobc -x -o hello hello.cob
./hello Troubleshooting notes: traditional COBOL is column-sensitive (indicator column 7, areas A/B), so watch source layout when using fixed-format. PIC 9 = digits, PIC X = text. Expect dialect differences between IBM, Micro Focus and GnuCOBOL; file encodings and record formats (EBCDIC vs ASCII, fixed vs variable) matter when exchanging mainframe data.
Jump to Post— Rashakil Fol 978You could try the Internet.
You could try the Internet.
uhmm i'm having a hard time on the programming part coz i have to do a report on 3 programs in COBOL programming language.....
anyway thanx for the information
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.