Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to DARK a cics field dynamically(thru cobol program)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
arun.gopal
Warnings : 1

New User


Joined: 25 Jul 2006
Posts: 9
Location: Kerala, India

PostPosted: Fri Nov 25, 2011 3:33 pm    Post subject: How to DARK a cics field dynamically(thru cobol program)
Reply with quote

Hi,
I need to dark a cics field dynamically. Suppose i have a field F1(Protected field) and i have moved 'X'6C' and X'7C' to the F1A(attribute) field but the field is not masked. Could you please suggest a solution for this?

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

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1004
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Nov 25, 2011 7:50 pm    Post subject:
Reply with quote

First, you shouldn't move the hex values. IBM supply attributes in DFHBMSCA tio be used for this. The X'6C' equates to DFHPROTN but I find no attribuite for X'7C'. DFHDARK is a X'4C'.

Garry.
Back to top
View user's profile Send private message
arun.gopal
Warnings : 1

New User


Joined: 25 Jul 2006
Posts: 9
Location: Kerala, India

PostPosted: Mon Nov 28, 2011 10:36 am    Post subject:
Reply with quote

Thanks for the response garry. i can include the DFHBMSCA copyook and
move DFHDARK to the fieldA valriable right.
I defined the FIELD as protected in map defintion and after darkenning the field it should remain as protected. Could you please let me know will it work if i mentioned above
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Tue Nov 29, 2011 11:22 pm    Post subject: Reply to: How to DARK a cics field dynamically(thru cobol pr
Reply with quote

Hi,

Use DFHPROTN to protect and non-display the field.


Regards
Raghu
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 CICS EZASOKET CONNECT using DNS name ankit.jain CICS 1 Tue Jan 16, 2018 7:24 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 1 Wed Dec 20, 2017 11:10 am
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us