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

Hi All I've got an appointment for my visa interview. I'm confused seeing all the postings I'm currently working in IBM Bangalore, i've got just 3+ years of realtime experience in this field. I've completed my Bachelore of Computer Applications and then Master of Information Systems....and with good percentages... I've seen many posting who's visa got rejected even for 4+years of IT experience VO's asking for 6+ years of exp. I'm afraid...is my exp and background sufficient to get throug the interview and get visa stamped. I'ld be more happy if you can help me in this reg. waiting for reply Smitha

2 Answers  


In a test environment, is there a need to run a runstats?

0 Answers  


What is meant by comp-3 and what is it used for?

0 Answers  


Can we move alphanumeric incentive to the numeric field?

0 Answers  


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

0 Answers  






Define clustered index?

0 Answers  


How do you get parameter from JCL to PL1?

0 Answers   IBM,


IF a file has 10-members how do you process all of them? using CL& USING RPG?

1 Answers  


which one of the following cannot cause more than one execution of paragraph that may be nam in statement. A) simple perform B) perform with time C) perform until D) perform varying

3 Answers   Accenture,


Can you define notcat 2?

0 Answers  


HOW to change the coloumns in XREF?

0 Answers  


What is downtime and what might be the reason?

0 Answers  


Categories