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 14272can 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 12322SUPPOSE 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 6827)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
IBM,
1956
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
HOw can I get the negative sign while deduct high value from low value
What is length is cobol?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What type of SDLC u followed? Why?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
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?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between structured cobol programming and object alternativelyiented cobol?
Which mode is used to operate the sequential file?
Mention the guidelines to write a structured cobol program?
how to move the records from file to array table. give with code example
What is the difference between PIC 9.99 and 9v99 in COBOL?
example for sub strings ? and refernce modifications whit output pls