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

suppose program A is calling program B, at a time A will send 100 records but it has to send 500 records. how it will possible?

1583


what is the meaning of notcat 2?

643


Can we move alphanumeric incentive to the numeric field?

554


What is Comp-2?

625


Explain ibm z?

574






Name all the file-open modes

652


What is the function of currentdata option in bind?

563


can any body give me any website for getting help on mainframe projectts in banking domain.

1630


Why is free space left in ksds dataset?

597


Explain isolation level?

629


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

601


Can you explain create an empty file by using sort?

555


What is the function of iebgener?

579


Name and explain the type of locks?

554


Express the distinction between jes2 and jes3?

544