Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
4Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Cobol - Politec

Cobol - Politec

Ratings: (0)|Views: 12,172|Likes:
Published by Roger Correa

More info:

Published by: Roger Correa on May 29, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

02/23/2013

pdf

text

original

 
COBOLCOBOL
Participante : ___________________________________Participante : ___________________________________Treinamento: ___________________________________Treinamento: ___________________________________Período : ___________________________________Período : ___________________________________Sala : ____________Horário: _______________Sala : ____________Horário: _______________ Instrutores:________________________________________________________________________
 ____________________________________________________________________________________________ Versão 1
1
 
Cobol
1. LEGENDA DOS COMPONENTES ORIENTATIVOS............................62. INTRODUÇÃO.......................................................................................7
2.1 Sistema Operacional..............................................................................................................................72.2 Programas..............................................................................................................................................72.3 COMPILAÇÃO.....................................................................................................................................8
3. O QUE É COBOL?.................................................................................8
3.1 Como editar um programa...................................................................................................................93.2 Comentários num programa................................................................................................................93.3 Palavras ...............................................................................................................................................10
3.3.1 Constante figurativa.......................................................................................................................103.3.2 Palavras opcionais.........................................................................................................................113.3.3 Palavras-chave...............................................................................................................................11
3.4 Caracteres............................................................................................................................................113.5 Estrutura da linguagem......................................................................................................................11
3.5.1 Divisões ........................................................................................................................................123.5.2 Seções............................................................................................................................................123.5.3 Parágrafos......................................................................................................................................123.5.4 Sentenças.......................................................................................................................................123.5.5 Programa Cobol.............................................................................................................................13
4. IDENTIFICATION DIVISION................................................................155. ENVIRONMENT DIVISION..................................................................17
5.1 CONFIGURATION SECTION.........................................................................................................18
5.1.1 SPECIAL-NAMES........................................................................................................................18
5.2 INPUT-OUTPUT SECTION..............................................................................................................19
5.2.1 FILE-CONTROL...........................................................................................................................195.2.2 I-O-CONTROL.............................................................................................................................20
6. DATA DIVISION...................................................................................21
6.1 FILE SECTION...................................................................................................................................22
6.1.1 Níveis especias (2 tipos)................................................................................................................236.1.2 FILE DESCRIPTION (FD)...........................................................................................................246.1.3 CLÁUSULA PICTURE (PIC)......................................................................................................266.1.4 CLÁUSULA FILLER...................................................................................................................286.1.5 CLÁUSULA VALUE...................................................................................................................28 ____________________________________________________________________________________________ Versão 1
2
 
Cobol
6.2 WORKING-STORAGE SECTION..................................................................................................29
6.2.1 OPÇÃO COMPUTATIONAL (COMP).......................................................................................296.2.2 CLÁUSULA JUSTIFIED..............................................................................................................306.2.3 CLÁUSULA REDEFINES...........................................................................................................306.2.4 CONSTANTES FIGURATIVAS..................................................................................................31
6.3 LINKAGE SECTION.........................................................................................................................31
7. PROCEDURE DIVISION.....................................................................34
7.1 CLÁUSULA OPEN.............................................................................................................................357.2 CLÁUSULA READ.............................................................................................................................357.3 CLÁUSULA WRITE..........................................................................................................................36
7.3.1 OPÇÃO ADVANCING................................................................................................................377.3.2 OPÇÃO AFTER POSITIONING..................................................................................................37
7.4 CLÁUSULA CLOSE..........................................................................................................................397.5 CLÁUSULA STOP RUN....................................................................................................................397.6 CLÁUSULA GOBACK......................................................................................................................397.7 CLÁUSULA GO TO...........................................................................................................................407.8 CLÁUSULA MOVE............................................................................................................................40
7.8.1 CLÁUSULA OF no COMANDO MOVE....................................................................................41
7.9 CLÁUSULA ADD...............................................................................................................................43
7.9.1 OPÇÃO ROUNDED.....................................................................................................................457.9.2 OPÇÃO ON SIZE ERROR...........................................................................................................46
7.10 CLÁUSULA SUBTRACT ...............................................................................................................467.11 CLÁUSULA MULTIPLY (multiplicação)......................................................................................487.12 CLÁUSULA DIVIDE (divisão)........................................................................................................49
7.12.1 OPÇÃO REMAINDER...............................................................................................................51
7.13 CLÁUSULA COMPUTE..................................................................................................................517.14 CLÁUSULA DISPLAY....................................................................................................................527.15 CLÁUSULA ACCEPT......................................................................................................................537.16 CLÁUSULA IF..................................................................................................................................55
7.16.1 TESTE DE CONDIÇÃO DE CLASSE.......................................................................................57 ____________________________________________________________________________________________ Versão 1
3

Activity (4)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
nagarathinam82 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->