Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

01 a pic s9(5) value '-12345' how it will be stored

Answer Posted / nagaraj ramammorthy

here the usage clause is DISPLAY which is default. so each
digit takes one byte to store and the sign is punched with
the last digit..

so it will be stored as 1234N.

note:
numbers punched with '+' sign
0 - {
1 - A
2 - B
3 - C
4 - D
5 - E
6 - F
7 - G
8 - H
9 - I


numbers punched with '-' sign
0 - }
1 - J
2 - K
3 - L
4 - M
5 - N
6 - O
7 - P
8 - Q
9 - R

hope this is clear

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1203


how do you define single dimensional array and multidimensional array in your cobol?

1105


) How do u handle errors in BMS macro?

1972


What is the difference between PIC 9.99 and 9v99 in COBOL?

1334


In COBOL, what is the different between index and subscript?

1245


what is search and searchall?what is the diffrence between them?give an best example?

6832


How do you reference the following file formats from cobol programs?

1164


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2375


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1435


What is the use of intialize verb?

1256


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1249


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1126


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


Explain the configuration section of a cobol program with examples of syntax.

1200


Give some examples of command terminators?

1261