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!
PROGRAM FOR CONDITION NAMES:
We have to write a simple program to demonstrate Condition names usage.
identification division.
program- id.
environment division.
data division.
working-storage section.
01 ms pic 9(2).
88 s value 0 thru 9 .
88 m value 10 thru 99.
procedure division.
p-1.
display(1 1) erase.
display(5 5) "Enter Marriage Status : ".
display(7 5) " 0 to 9 .... Single Person ".
display(8 5) " 10 to 99 .... Married Person".
accept ms.
if s display(10 5) "Single".
if m display(10 5) "Married".
stop run.
Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the
Illustration of simple sort verb: Illustration: Suppose that we have a card file with the following records description in the data division. The names of the work fil
SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE
FILLER CLAUSE: Consider the statements as shown below: 1) 01 f pic x(80) value all "-". This statement origins a line of 80 characters filled with "-"
PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration: A) Perform the para-2 5 times. In this situation the specifie
, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu
DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila
RULES OF RENAMES CLAUSE: The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript
Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D
IF STATEMENT: The easiest form of the IF statement is IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd