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

CICS IBM BMS MAP


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

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Mon Dec 27, 2010 11:45 am
Reply with quote

Hello to all,

hope my doubt will be resolved here.

basically, the screen is 24*80, all we know that,
after if we like this,

Code:
DFHMDF POS=(006,073),                                         C
      LENGTH=006,                                             C
      ATTRB=(ASKIP,BRT),                                      C
      OUTLINE=UNDER,                                          C
      COLOR=TURQUOISE,                                        C
      PS=8,                                                   C
      GINIT=' ãYçfá '
DFHMDF POS=(006,081),                                         C
      LENGTH=001,                                             C
      ATTRB=(ASKIP,FSET)
DFHMDF POS=(006,081),                                         C
      LENGTH=001,                                             C
      ATTRB=(PROT,BRT,FSET)


will it create error or not, if not create any error why so.

but if i compile am not getting any error. why so am not getting.

please resolve this


Thanks in advance.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Dec 27, 2010 12:13 pm
Reply with quote

Mahi_e wrote:
basically, the screen is 24*80, all we know that,


24X80 is not the only resolution available,
some of us know that.
Back to top
View user's profile Send private message
Mahi_e

New User


Joined: 10 Dec 2010
Posts: 43
Location: hyderabad

PostPosted: Mon Dec 27, 2010 3:00 pm
Reply with quote

OK, But i didn't get you. please explain me clearly
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Dec 27, 2010 3:52 pm
Reply with quote

Quote:

basically, the screen is 24*80, all we know that,
after if we like this,
...
...
...
will it create error or not, if not create any error why so.

but if i compile am not getting any error. why so am not getting.

please resolve this


we all understand that for many ( almost all ) of us english is not the first language,
but everybody should make the effort to ask in a comprehensible way
it is sad to notice that You did not try a bit!


please reword in a less confusing way Your question!
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Dec 27, 2010 7:03 pm
Reply with quote

do not double post the same issue on different forums!
even if the IDs are different the wording is exactly the same
( ibmmainframeforum.com/viewtopic.php?f=17&t=4985 )
people answering are mostly the same!

take a decision on which forum You want to keep the discussion
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Mon Dec 27, 2010 10:01 pm
Reply with quote

This is part of the DFHMDF macro code:
Code:
         AIF   (&POS(1) LT 1 OR &POS(1) GT 240).MDFE04               
         AIF   (&POS(2) LT 1 OR &POS(2) GT 240).MDFE04               
&FPOS    SETA  (((&POS(1)-1)*(&COLS))+(&POS(2)-1))  CALCULATE POSITION

The macro checks that row and column are between 1 and 240,
then it calculates the offset from top of screen using the classic formula: (((Row-1)*Width)+(Col-1))
So, in your case (6,81) is equivalent to (7,1)

Why does it work like this ? you will have to ask IBM.

BTW, in the example you gave you should have a return code of 4 and a MNOTE because you have overlapping fields.
__________________________________
there was a time I was able to write assembler macros... and read dumps... Ahh, that was the good old time...
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 Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top