Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: BMS MAP after compilation is not giving 'int' for integer
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 19, 2008 2:01 pm    Post subject: Reply to: BMS MAP after compilation is not giving 'int' for
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am
No new posts Compilation Error in Translation Step. amitc23 CICS 4 Tue Mar 01, 2016 12:24 pm
No new posts IGYDS5000-U and IGYDS5062-U abend in ... Alks ABENDS & Debugging 5 Mon Jan 18, 2016 9:56 pm
No new posts PL/I small integer? John Poulakos PL/I & Assembler 3 Wed Dec 24, 2014 2:22 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us