View previous topic :: View next topic
|
Author |
Message |
zanyzap4u
New User
Joined: 13 Dec 2008 Posts: 38 Location: Mexico City
|
|
|
|
i am compiling my bms map with LANG=C .
and the symbolic which is being created should have 'int' for a field, istead it is always showing 'char'.
my bms map field for int is :
Code: |
OUTPUT DFHMDF POS=(18,1), X
ATTRB=(PROT,NUM), X
LENGTH=70
|
the corresponding symbolic map created :
i have given it as NUM type still it is giving char.
i even tried giving PICIN PICOUT in the field, still it was giving char.
plz help.
should i post my jcl? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
for what reason a user enter field should become a C int ??
please review your understanding of screen interactions
remember You talking about fields, by any point You look at them
they are are just char strings,
You will have to carry on the conversion Yourself ( atoi )
in any decent language You might use a pic clause, with C You are on your own |
|
Back to top |
|
|
zanyzap4u
New User
Joined: 13 Dec 2008 Posts: 38 Location: Mexico City
|
|
|
|
ok got it..m trying.
thank you.
|
|
Back to top |
|
|
|