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
 

 

DFHPROTN - to mask the field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 30
Location: india

PostPosted: Thu Apr 09, 2015 4:38 pm    Post subject: DFHPROTN - to mask the field
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: 331
Location: USA

PostPosted: Thu Apr 09, 2015 6:36 pm    Post subject: Reply to: DFHPROTN - to mask the field
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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Thu Apr 09, 2015 9:45 pm    Post subject:
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    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 Performing arithmetic on input field zh_lad DFSORT/ICETOOL 24 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm


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