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 |
What is distributed relational database architecture? And components?
What is the need of running runstats in the test environment?
How do you create a like table?
How do you get parameter from JCL to PL1?
What will happen if both steplib and joblib are specified?
What is meant by drda?
WHAT ARE THE RETRIVAL ORDER OF FILES IN RPG&sql?
If an array is multi-dimensional dynamic array how do you deal with it & provide me some examples?
what is the use of overlay keyword
what is the meaning of a (new, catlg, keep) disposition mean?
In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. a) there must be a select clause for this file in the file-control paragraph of environment division. b) There must be an FD entry in the file section of the data division. c) The file name must appear in a WRITE stmt in the procedure division. d) There?ll be a CLOSE stmt in procedure division.
01 A 02 B occurs 10 times 03 C pic 999. 03 D occurs 15 times 04 E pic 999. 04 F occurs 20 times 05 G pic XXX. 05 H pic 99. Determine the total no of byte in A. A) 175 B) 15480 C) 21750 D) 9065