What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / varun v
1) Move Spaces to Numeric field:
Here program would give compilation error saying Spaces
to Numeric integer did not follow the "MOVE" statement
compatibility rules.
2) Move Zeroes to Alphabetic field:
Would work fine with Movement of Zeroes to the
Alphabetic field.
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
how to convert the recors form vsam file to db2 table tru file aid
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is amode(31)
What is the usage of comp fields in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
i need a small 3d program using inline and outline.
What is the difference between Global and External Variables?
A table has two indexes defined. Which one will be used by the SEARCH?
) what is the difference between AID and HANDLE AID?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)