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: 343
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: 1649
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 SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts 2 byte YEAR from Y'DATE2' field tecnokrat DFSORT/ICETOOL 2 Tue Feb 07, 2017 12:05 pm
No new posts Sort two file having same field, one ... himanshu malik DFSORT/ICETOOL 7 Thu Feb 02, 2017 10:09 am


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