HELLO FRIENDS,
THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING
QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE
IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER
Answer Posted / nihar ranjan karan
I completely agree with Nikhil...
To add up a few more points which will be of help.....
Open up a dataset and put HEX ON , you will see the
following results assuming the variable occupies 4 bytes of
space:
low values 00000
00000
high values FFFF
FFFF
spaces 4444
0000
display item numbers FFFFFFFFFF
0123456789
characters A - Z will be of the following form:
C1-C9 will represent A-I,D1-D9 will represent J-R,E2-E9
will represent S-Z
comp-3 ...for example if number is positive 5893.
0083
059C
for negative last character will be D.
For comp it is converted into its hexadecimal equivalent.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How do you get the data to code the BMS macro?
Have you used comp and comp-3 in your project? And how?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the difference between next sentence and continue in cobol programing language?
Differentiate between structured cobol programming and object-oriented cobol programming.
how to convert the recors form vsam file to db2 table tru file aid
Can you please let me know the centre name of INS certification in Kolkata.
For rewrite, why is it mandatory that file needs to be opened?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What the difference is between continue and next sentence?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the utilization of copybook in cobol?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning