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
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What are the different rules for performing sort operation?
What is Pic 9v99 Indicates in COBOL?
Have you used comp and comp-3 in your project? And how?
) what is the difference between AID and HANDLE AID?
What is the difference between external and global variables in COBOL?
Write some characteristics of cobol as means of business language.
what is the difference between COBOL2 AND COBOL390?
What is the difference between next sentence and continue in cobol programing language?
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 ?
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?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Write a cobol program making use of the redefine clause.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?