What is controlled keyword in PL/1?



What is controlled keyword in PL/1?..

Answer / 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

More IBM MainFrame AllOther Interview Questions

Can any one tell me that how we go for the compare,unit testing after changing requirement as per client request. this is very helpful for me when u give suitable (coading) exmple.

0 Answers   TCS,


Can you define an alias?

0 Answers  


What is the need to code commits in batch programs?

0 Answers  


Define the necessity of run stats among the environment test?

0 Answers  


1) What is ONCODE (Return code) in PL/1? 2) How to handle the ONCODE in PL/1? Please give me some examples?

1 Answers   IBM,






How IBM framework work?

0 Answers   IBM,


Difference b/w Error and abend in COBOL

2 Answers   HP,


Explain isolation level?

0 Answers  


A word in the computer memory is identified by_________

0 Answers   IBM,


How much memory does variable of 6 decimal (15, 2) take in PL/1?

1 Answers   IBM,


How are composite and multiple indexes different?

0 Answers  


What are the error (ONCODES) codes did you encounter in PL/1 programme?

0 Answers   IBM,


Categories