|
INTERVIEW QUESTIONS
MAINFRAME
COBOL
DETAILS
Question: Can we able to execute the foolowing statement move a,b toc,d' what will happen can any one tell about this
Answer: The Closest group move statement would be MOVE CORRESPONDING.
MOVE CORRESPONDING GROUPA TO GROUPB
where,
01 GROUPA
02 NAME PIC A(10)
02 AGE PIC 99
02 GROUPB
02 ST-DETAILS
03 NAME PIC A(10)
03 AGE PIC 99
02 ST-MARKS
...
However, this can be used only on Group Variables and it'll move the values of the next level variables in Group A to the Group B.
|
|
|
Category |
COBOL Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 6737 users |
Added on |
7/22/2011 |
Views |
68246 |
Rate it! |
|
|
Question:
Can we able to execute the foolowing statement move a,b toc,d' what will happen can any one tell about this
Answer:
The Closest group move statement would be MOVE CORRESPONDING.
MOVE CORRESPONDING GROUPA TO GROUPB
where,
01 GROUPA
02 NAME PIC A(10)
02 AGE PIC 99
02 GROUPB
02 ST-DETAILS
03 NAME PIC A(10)
03 AGE PIC 99
02 ST-MARKS
...
However, this can be used only on Group Variables and it'll move the values of the next level variables in Group A to the Group B. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
suppose i have array of 10 elemnts in it how to acess 5 element from the arrayusing supscript and index
|
View Answer
|
|
Without execution cobol program how to see output?
How to rename input filename and outputfile name?
3) Wat is flag?
4) What is impact analysis what basis how will you write test cases?
5) How you sea output of cics command?
6) How are datasets concatenated explain with example?
|
View Answer
|
|
What are the two cobol verbs that are used in data division? (one is COPY..what is the other)
|
View Answer
|
|
What is the difference between write & move in COBOL.? What is the meaning of 'TALLING' verb in cobol? What is the meaning of 'Eject' verb in cobol?
|
View Answer
|
|
What is te difference between Call and Link in cobol?
|
View Answer
|
|
Can we use search and search all in embedded sql
|
View Answer
|
|
What is RESIDENT progamme
|
View Answer
|
|
What are the HIGH Values,LOW values and where we can use?
|
View Answer
|
|
In FILE SECTION of a COBOL programme, I have the following line.
RECORD VARYING FROM 122 TO 160 DEPENDING ON WS00_RECORD_LENGTH
How would the value of WS00_RECORD_LENGTH found out? Where will it be?
|
View Answer
|
|
Can we use redefine clause in occurs clause?
|
View Answer
|
|
How may do the following definitions occupy?
(a) s(3)v99 comp-3 (b) s(9)v99 comp
|
View Answer
|
|
How to initialize a group data which is containing occur clause?
|
View Answer
|
|
What is the maximum size of table space?
|
View Answer
|
|
How to commit updated records in IMS as well as in DB2?Both in CICS and Batch. Is there any single command will do these? Please help me
|
View Answer
|
|
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
|
View Answer
|
|
What are the functions like c/c++ in cobol?
|
View Answer
|
|
What is the difference between Working-storage Section & Linkage Section?
|
View Answer
|
|
Plz tell me how to read/write records form bottom frm a sequential file in cobol?
|
View Answer
|
|
How can you pass values from COBOL program to non-COBOL programs
|
View Answer
|
|
What is the logical difference b/w Move A TO B and COMPUTE B = A.
|
View Answer
|