Question
What is the difference in data type "x" and "p"?

Answers

In MVS assembler data type X denotes hexadecimal data type  which unsigned pack. suppose you define VAR1 as "VAR1 DC X'01'".
It will occupy 1 byte in the memory and stored as: 

0 in the zoned nibble and 1 in the numeric nibble.
P denotes the packed data type, similar to COMP-3 in COBOL. 
if you declare any variable with this data type then it  must have a sign byte at last nibble. 

See following example:
VAR2 DC P'1'
it will occupy one byte in the memory and stored as '1C'.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q He came late ____ he missed the train.
  • Q What are the components of Region Server?
  • Q Dr David Hessian 2nd Catherine Cookson what type his books
  • Q What is difference between drill & scope of analysis?
  • Q Define biochemical metamorphosis.
  • Q How to deal with DLL conflicts in Win2000
  • Q Imagine a parent comes to you and tells you that she is taking her child out of speech because the child doesn't like it. How will you respond?
  • Q What countries national anthem is The Patriotic Song
  • Q .NET Mobile Events
  • Q In what film did Bruce Willis play a time travelling criminal
  • Q What is the approximate pH of the salivary secretion? Is it an acid or basic fluid? What are the main functions of saliva?