IBM Mainframes PL/1 Interview Questions for Freshers and Experienced – updated

Here is the list of Mainframes PL/1 Interview Questions for Freshers and Experienced asking in real time. The questions are divided into two sections like basic questions and operational questions. Please submit your answer as comment to this post.

    

PL/1 Interview Questions – Basic Questions

What is the difference between BASED and BASED(ADDR)
In a PLI program, where should the declaration of variables be done?
Why is a BASED variable used?
What is the difference between BASED and DEFINED variables?
What is the difference between a normal CHAR variable and a VAR CHAR?
What needs to be done for having a variable BASED on a VAR CHAR variable?
What is the maximum number of digits of a DEC FIXED declaration?
How many bytes does a digit of type DEC FIXED occupy?
How is the sign bit represented internally in a DEC FIXED variable?
What is the difference between READ INTO and READ SET
What is the difference between GET and READ?
What is the difference between assigning values to CHAR and BIT string?
What is the difference between GOTO and CALL statements?
Is OPEN FILE and CLOSE FILE mandatory in PLI?
Is REWRITE possible in a normal Sequention file?
Is Declaration of variables mandatory in PL1?

Mainframes PL/1 Interview Questions-Operational Questions

When does a PROTECTION EXCEPTION arise?
What is DATA EXCEPTION?
When does a FIXEDOVERFLOW condition arise?
When does a SUBSCRIPTRANGE condition arise?