how can i convert hexadecimal value to packed value?

Answers were Sorted based on User's Feedback



how can i convert hexadecimal value to packed value?..

Answer / vivek

I think we can't convert hexadecimal to decimal. Because decimal value only have the numbers and Hexadecimal combination of number and characters.
We can convert Hexadecimal to character using cvtch api which belongs in QC2LE Binding directory.

Is This Answer Correct ?    0 Yes 0 No

how can i convert hexadecimal value to packed value?..

Answer / kavitha s

Try using %dec or %int.

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More IBM AS400 AllOther Interview Questions

why is as/400 called object oriented machine?

1 Answers   IBM,


what is the maximum number of subfiles that can specified in a display file ?

1 Answers   IBM,


Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be defined in new CLLE program?

3 Answers   IBM,


what is the purpose of overrides?

1 Answers   IBM,


What is the function of DSPATR (display attributes) keyword?

1 Answers  


what is procedure prototype and procedure interface.

0 Answers   IBM,


what do we can do with the embedded sql statements?

0 Answers   IBM,


Please give me the code for A=A+1 in cl program?

2 Answers  


What is the purpose of CHGPF (Change physical file) command?

1 Answers  


in which specification the report layout can be defined?

1 Answers   IBM,


what is match field indicator?

1 Answers   IBM,


How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me

21 Answers   Accenture, SNS,


Categories