What is R-mode and A-mode?
Answers were Sorted based on User's Feedback
Answer / santhosh vayathuri
RMODE stands fro residency mode.where to store the data
whether it may be below the 16MB line or above the 16MB
line or giving chance to compiler that where ever store the
data.
AMODE stands for ADDRESS MODE it will tell to compiler
which addressing mode we are using it may be 24 bit or 31
bit addressing mode.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / raj
A-mode is addressing mode options(24|31|ANY)
R-mode Residence mode Options(24|31|Any)
These are compiler option and are site specific.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / kiran
r-mode means 24 bit address mode ,a-mode means 31 bit
address mode
| Is This Answer Correct ? | 2 Yes | 9 No |
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
For rewrite, why is it mandatory that file needs to be opened?
What is an in line PERFORM? When would you use it? Anything else to say about it?
What do you feel makes a good program?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What type of SDLC u followed? Why?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Can we use redefine clause in occurs clause?
Can we move X(7) to S9(7) COMP?
in the TIME parameter we r giving hours r minutes
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.