IBM MainFrame Question:

Download Job Interview Questions and Answers PDF

if a pic 9(3) value 354,b pic x(2) value 46 then
a)a>b
2)a<b
3)error

IBM MainFrame Interview Question
IBM MainFrame Interview Question

Answer:

As picture clause for variable b is x(2), which means that
it can accept both numeric and characters of length 2, but
the care we should take here is that we should enclose them
in the single quotes, therefore to my expectation option b
is write.

Download IBM MainFrame Interview Questions And Answers PDF

Previous QuestionNext Question
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL?Suppose oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset?