Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Character Set:
To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in the COBOL character set.
They are listed as below:
0-9 (10 numerals)
A-Z (26 English alphabets-only capital letters)
- (hyphen or minus sign)
+ (Plus sign)
* (Asterisk)
/ (Slash)
0= (Equal sign)
$ (Currency sign)
, (Comma)
; (Semi colon)
. (Period or decimal point)
" (Quotation mark)
( (Left Parenthesis)
) (Right Parenthesis)
> (Greater than symbol)
< (Less than symbol)
The characters 0-9 are known as numeric characters or digits. The characters A-Z are known as letters and the remaining characters are known as special characters. The space or blank character in many cases is treated as a letter.
FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.
Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)
Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition
RELATIONAL CONDITION: We know that a relational condition specifies a comparison between two operands and has the form. Operand-1 relational-operator operand-2
Example of Write statement: Illustration: (i) WRITE TRANS-RECORD AFTER ADVANCING 3 LINES. This WRITE statement specified that the TRANS-RECORD is a record name of a fi
The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro
PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp. 02 empdet.
SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr
PROGRAM FOR IF : We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.
Program for Sequential File Creation & Rewriting We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd