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


Please Help Members By Posting Answers For Below Questions

What is the difference between a binary search and a sequential search what are the pertinent cobol?

823


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

774


What are the different rules for performing sort operation?

851


What is Pic 9v99 Indicates in COBOL?

837


Have you used comp and comp-3 in your project? And how?

2087






) what is the difference between AID and HANDLE AID?

1742


What is the difference between external and global variables in COBOL?

910


Write some characteristics of cobol as means of business language.

708


what is the difference between COBOL2 AND COBOL390?

2566


What is the difference between next sentence and continue in cobol programing language?

822


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1985


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

806


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17283


Write a cobol program making use of the redefine clause.

826


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

830