How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / sukhwinder singh
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY WS-VARS(1:9).
stop run.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
how do you reference the esds vsam file formats from cobol programs
Why occurs cannot be used in 01 level in COBOL?
What are the various section in data division and briefly explain them.
Differentiate between structured cobol programming and object-oriented cobol programming.
how to access the file from prodution from changeman tool and to submit a file to production
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Write a program to enter and display the names of students in a class using the occurs clause.
How do define dynamic array in cobol.
A table has two indexes defined. Which one will be used by the SEARCH?
How can you get the ksds file records into your cobol program?
What is a SSRANGE and NOSSRANGE?
Which Search verb is equivalent to PERFORM…VARYING?
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.
Explain how you can characterize tables in cobol?