Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the output generated by the following code?
01 GRP-I.
05 SUBFLD1 PIC XX VALUE "AB".
05 FILTER PIC X(6) VALUE SPACES.
01 GRP-2 REDEFINED GRP-1.
05 SUB-FLD2 PIC XX.
05 SUB-FLD3 PIC XX.
05 FILTER PIC X(4).
IF SUB-FLD1 NOT = SPACES
DISPLAY "SUBFLD1"
MOVE "ABBCCD" TO GRP-1
IF SUB-FLD3 = SPACES
DISPLAY "SPACES"
ELSE
DISPLAY "SUBFLD3"
DISPLAY "END"
ELSE
DISPLAY "SPACES"
DISPLAY "END".
(a) SUBFLD1
SUBFLD3
END
(b) SPACES
END
(c) SUBFLD1
END
(d) SUBFLD1
SPACES

Answer Posted / guest

I hope SUBFLD1 is erroneously written as SUB-FLD1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules for performing sort operation?

1228


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2379


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 ?

2305


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1353


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1145


Can you please let me know the centre name of INS certification in Kolkata.

2248


What is the difference between comp and comp-3?

1189


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9109


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2011


Why would you use find and get rather than to obtain?

1188


i need a small 3d program using inline and outline.

2216


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5376


What is an in line perform? When would you use it? Anything else you wish to say about it.

1080


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1085