b.anjaiah


{ City } hyderabad
< Country > india
* Profession * trainee
User No # 52005
Total Questions Posted # 0
Total Answers Posted # 5

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 10
Users Marked my Answers as Wrong # 7
Questions / { b.anjaiah }
Questions Answers Category Views Company eMail




Answers / { b.anjaiah }

Question { 7246 }

How to delete a front spaces in a data-name/variable in
cobol
Example:-
01 data-name-1 PIC x(20) value " cobol language".
01 data-name-2 PIC x(20).
MOVE data-name-1 to data-name-2.
would like the value of data-name-2 is "cobol language".


Answer

Deepak is partially right.

01 name1 pic a(20) value ' cobol language'.
01 name2 pic a(20).
01 name3 redefines name2 pic a(14) justified right.
PD
move name1 to name3.
display name2.

Is This Answer Correct ?    0 Yes 1 No

Question { ABC, 20436 }

what is the minimum number of lines a Cobol program should
have to successfully compile and run


Answer

in #2 no need to use display statement.

IDENTIFICATION DIVISION.
PROGRAM-ID. A.
PROCEDURE DIVISION.
STOP RUN.

Is This Answer Correct ?    3 Yes 2 No


Question { 4134 }

pls tell me abt the normalization five types....


Answer

clearly explain about them please

Is This Answer Correct ?    0 Yes 0 No

Question { Bank Of America, 15259 }

Suppose, file A has 100 records and file B has 500 records. We
want to write records common to both A and B into file C and
records which are present only in either A or B into another file D.
What should be the logic of Cobol program to achieve this?


Answer

I think this is partially right. after accessing 100 records
program is abended. And how to send remaining B file records
into file D.. send me ans plz..

Is This Answer Correct ?    0 Yes 3 No

Question { 28698 }

What is DFHAID? what is its use?


Answer

the function key information stored when client revokes

Is This Answer Correct ?    7 Yes 1 No