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: 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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm


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