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

What is drda ?

0 Answers  


Why do you need a secondary index in an ims?

0 Answers  


What is the meaning of a (new, catalog, keep) disposition mean?

0 Answers  


What are the mainframe computing pros and cons?

0 Answers  


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

0 Answers  






Can we give +2 instead of +1 while creating a new gdg file?

0 Answers  


Can you explain function of dbctl?

0 Answers  


accept ws-date from date will return the current date?

0 Answers   IBM,


How to compare two files by using sort?

0 Answers  


88 level entry is for

7 Answers   Accenture, Cognizant, EDS, Wipro,


Hi all, I have >200 members per Dataset, I need to delete 2 lines from all members of a Dataset. To do Manually it is difficult. So please tell me simple method. is there any Tool or........

2 Answers  


stmts affected by activation group?

1 Answers  


Categories