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

When you are working with the project.. once your coding is over what will u do? where u r maintaining your CR(change request) what is the format what are the documents u need to prepare while testing?

1568


What is the difference between hdam and hidam databases?

568


List the type of locks?

537


Why are you looking for a change?

543


what is u r recent task in insurence project?..plz tell how to tell this.

2821






What is meant by an isolation level?

570


What is the mainframe computer?

551


10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?

3057


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

569


What is mainframe database?

483


Can I redefine an x(100) field with a field of x(200)?

540


Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0

22816


What is defragmentation?

599


Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?

1844


Give the format of using and giving in sort statement. What are the restrictions with it?

632