How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / premil
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
01 WS-VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
MOVE WS-VARS TO WS-VAR1.
DISPLAY WS-VAR1.
stop run.
Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Which mode is used to operate the sequential file?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
how do you reference the ksds vsam file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What are the different open modes available in cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Write some characteristics of cobol as means of business language.
How can you get the ksds file records into your cobol program?
What type of SDLC u followed? Why?
how do you reference the esds vsam file formats from cobol programs
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Explain the configuration section of a cobol program with examples of syntax.