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

DFHPROTN - to mask the field


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

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Thu Apr 09, 2015 4:38 pm
Reply with quote

MAP FIeld Defination:

Code:
*                                                                       
FL24C2   DFHMDF POS=(24,01),ATTRB=(ASKIP,FSET,BRT),LENGTH=79           
*                                                                       
FL24C3   DFHMDF POS=(24,01),LENGTH=24,                                 C
               INITIAL='APPROVE REQUEST (Y/N)?'                         
*                                                                       
FL24C63  DFHMDF POS=(24,48),ATTRB=(UNPROT,FSET,BRT),LENGTH=1           
         DFHMDF POS=(24,50),LENGTH=1         

                         
*     



I am using the above maps in A & B pgms

Through A PGM i am passing the the meesage "add request" to FL24C2 field.

THrough B PGM iam passing the message 'APPROVE REQUEST (Y/N)?' . the message is hardocded in the MAP defination itself.

beacuse of the hard ocde message in the map ; I am getting both messages in the screen.

I have passed DFHPROTN to FL24C3 ATTB but still it not working

PLease let me know how can we do it.

[coded for you - next time do it yourself]
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Thu Apr 09, 2015 6:36 pm
Reply with quote

Quote:
PLease let me know how can we do it.

Do what?? What do you want to do?
What have you tried?
Where is the code where you are passing the values?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2567
Location: NYC,USA

PostPosted: Thu Apr 09, 2015 9:45 pm
Reply with quote

Quote:
beacuse of the hard ocde message in the map ; I am getting both messages in the screen.


Why have you hardcoded with label? usually we do hardcoding for texts? so what is the hard if you pass it through program only when it is required?

Quote:
I have passed DFHPROTN to FL24C3 ATTB but still it not working


Have you passed before send map? are you sure? please care to show us the code.
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
This topic is locked: you cannot edit posts or make replies. Passing a field name to COBOL program COBOL Programming 10
No new posts BMS map length field greater than zero CICS 3
No new posts Break a record into fields, each fiel... SYNCSORT 2
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10
No new posts How do i verify the char field is hav... PL/I & Assembler 1
Search our Forums:

Back to Top