What is controlled keyword in PL/1?

Answer Posted / sekhar naidu yandrapu

CONTROLLED SPECIFIES THAT YOU MAINTAIN FULL CONTROL OVER THE ALLOCATION AND FREEING OF STORAGE WITH ALLOCATE AND FREE STATEMENTS .MULTIPLE ALLOCATIONS OF THE SAME CONTROLLED VARIABLE IN THE SAME TASK ,WITHOUT INTERVENING FREEING , STACK
GENERATIONS OF THE VARIABLE.

eX: dcl fieldx char(12) controlled;
allocate fieldx;
fieldx ="all clear?';
put file(printer) edit(fieldx)(x(5),A)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

have you ever know what is the meaning of Packed Decimal  

1131


Write in brief about clusters?

564


What is distributed relational database architecture? And components?

555


Explore the syntax of the evaluate statement?

544


Hello, I have 3 years of exp as a mainframes tester in a leading IT company, now am looking to change my company. Could you please let me know, what are the interview questions/topics i should prepare. Your suggestions are truly valuable for me :) Thanks !!

1497






Is the order of the when clause significant in an evaluate statement?

597


What is the facility that allows mainframes to be partitioned into lapars?

613


Why are you looking for a change?

544


Explain isolation level?

637


Can the values of alphanumeric be moved to variable numeric?

605


suppose if you added a coloumn to db2 table, How would it be the Impact analysis?

1521


How to find all duplicate records?

533


How do you eliminate the duplicates?

523


Are scope terminators compulsory? If they are, when?

495


pls send the docs of any telecommunication mainframe project

1738