Call Pgm Parm(x’001F’ x’00010F’)
The first parm is a 3 position numberic field, value of 1
The second parm is a 4 position numberic field, value of 10
Inside the ticks after the X must be a even number of positions including the F. Therefor the 4 position numberic field has an extra zero in front of the number to make it a even number of positions. F is for a positive number, I don’t remember what is used for a negative number.
As Tom mentioned, we really need to see the RPG data definition for the “integer variable” to accurately answer your question. The earlier answer (x’001F’ x’00010F’) is correct if what you’re after is packed decimal numeric data to be passed as parameters. If, on the other hand, you want 4-byte integer data values passed then you would use x’00000001′ and x’0000000A’ to pass the numeric values 1 and 10 respectively.
Not really enough information in your question to know what your actual question is…