ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
TCS,
6 14532can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.
IBM,
10 12706SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
2 6922)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
IBM,
2011
How you can characterize tables in cobol?
What are the rules of the move verb?
Write a cobol program making use of the redefine clause.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
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 ?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What are the pertinent COBOL commands?
) how do u code after getting data?
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between binary search and sequential search?
What is the difference between comp and comp-3 usage?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
how do you reference the rrds file formats from cobol programs
What is a scope terminator give example?
Difference between array and sub-script ?