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

How many primary files allowed in a program?

1 Answers  


what is a keyed physical file?

1 Answers   IBM,


define a output queue?

1 Answers   IBM,


what are necessary keywords to code message subfile?

1 Answers   IBM,


I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..

2 Answers   ISE,






how to validate input values in display file ?

0 Answers   IBM,


What is Spool file, Why is it required?

1 Answers  


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

0 Answers   BlackRock,


which are the figurative constants used in rpg?

0 Answers   IBM,


What is the Select and Omit criteria in logical file?

1 Answers  


what is cab?

0 Answers   IBM,


why is the declare cursor statement is used for?

0 Answers   IBM,


Categories