space pad character on OS/390 = ASCII space
Posted: Mon Sep 20, 2004 4:33 am
Hello All,
Have come up with an unusual situation when using Mercator map on OS/390. In the type tree (generated on Windows), we specify pad character of spaces, with a minumum of 1 and a maximum of n (pad to n).
When the map (generated for OS/390) and FTP'd to mainframe is used, the pad character becomes hex 20 (space in ASCII) not hex 40 (space in EBCDIC). Can anyone tell me why? We tried to specify <<40>> in the type tree as the pad character, but the type tree errored and said that 'the pad character must only be one character in length'.
We have a work around (we identify 'b' as pad character) and this ensures that the correct pad character is used on the mainframe(?), but it's driving me nuts not knowing why the wrong pad character is used. Am I holding my mouth wrong, or have I found an 'undocumented feature"?
Kind regards to all
Have come up with an unusual situation when using Mercator map on OS/390. In the type tree (generated on Windows), we specify pad character of spaces, with a minumum of 1 and a maximum of n (pad to n).
When the map (generated for OS/390) and FTP'd to mainframe is used, the pad character becomes hex 20 (space in ASCII) not hex 40 (space in EBCDIC). Can anyone tell me why? We tried to specify <<40>> in the type tree as the pad character, but the type tree errored and said that 'the pad character must only be one character in length'.
We have a work around (we identify 'b' as pad character) and this ensures that the correct pad character is used on the mainframe(?), but it's driving me nuts not knowing why the wrong pad character is used. Am I holding my mouth wrong, or have I found an 'undocumented feature"?
Kind regards to all