IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

BMS MAP after compilation is not giving 'int' for integer


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
zanyzap4u

New User


Joined: 13 Dec 2008
Posts: 38
Location: Mexico City

PostPosted: Fri Dec 19, 2008 1:49 pm
Reply with quote

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 :
Code:

 char        outputoÝ70¨;

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 19, 2008 2:01 pm
Reply with quote

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
View user's profile Send private message
zanyzap4u

New User


Joined: 13 Dec 2008
Posts: 38
Location: Mexico City

PostPosted: Fri Dec 19, 2008 3:43 pm
Reply with quote

ok got it..m trying.
thank you.
icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts How syntax check at Bind time is diff... DB2 5
No new posts WRITE to VSAM giving duplicate RC CICS 1
No new posts DB2 Program abending without giving a... DB2 7
No new posts Join giving more records than expected SYNCSORT 2
Search our Forums:

Back to Top