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?????
Answer Posted / dharma
U will not get SOC7 . but u will get unpredicatble results
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
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 ?
Write a program to enter and display the names of students in a class using the occurs clause.
how do you reference the ksds vsam file formats from cobol programs
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?
how do you reference the printer file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Describe the cobol database components?
how do you reference the variable unblock file formats from cobol programs
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do get the result of your program directly on your pc?
Differentiate between structured cobol programming and object-oriented cobol programming.
What guidelines should be followed to write a structured cobol prgm?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?