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: 991
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. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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