Answer Posted / maveric
IDENTIFICATION DIVISION.
PROGRAM-ID. PGM003.
AUTHOR. PREMYADAV.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 GROUP1.
05 REC1.
10 ELEMENT1 PIC X(3) VALUE 'WWW'.
10 ELEMENT2 PIC X(9) VALUE 'TECH'.
05 REC2.
10 ELEMENT3 PIC X(6) VALUE 'HELP'.
10 ELEMENT4 PIC X(1) VALUE '.'.
10 ELEMENT5 PIC X(3) VALUE 'COM'.
66 GROUP2 RENAMES ELEMENT2 THRU ELEMENT5.
PROCEDURE DIVISION.
10000-MAIN-PARA.
DISPLAY 'RENAME CLAUSE DEPICTED BY ' GROUP2.
STOP RUN.
OUTPUT
RENAME CLAUSE DEPICTED BY TECHHELP.COM
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is rmode(24)
Write the code implementing the perform … varying.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Name some of the examples of COBOl 11?
What is length is cobol?
What are the different rules for performing sort operation?
Which is not true about evaluate statement
What the difference is between continue and next sentence?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
HOw can I get the negative sign while deduct high value from low value
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How do you differentiate between cobol and cobol-ii?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?