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
 

 

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

Active Member


Joined: 08 May 2006
Posts: 995
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: 186
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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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