IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Protected Variable.


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
GauravKudesiya
Warnings : 1

New User


Joined: 11 Oct 2008
Posts: 74
Location: Chicago, IL

PostPosted: Wed Dec 19, 2012 7:46 pm
Reply with quote

Hello Admins,
Greetings!!

I am stuck up in a CICS program, I want to make a field Protected, i want to diaplay that field in only certain conditions.

Eg.

Code:
PASSWORD : _____

I am able to hide/remove 'PASSWORD :' for those conditions, but "____" is displaying.

How to hide that/make it protected so no one can write anything there.


Looking for your help.

Regards,
Gaurav
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Dec 19, 2012 8:19 pm
Reply with quote

Have you checked the options available in DFHMBSCA ? Setting field attribute DFHPROTN looks like what you want.

Garry.
Back to top
View user's profile Send private message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Wed Dec 19, 2012 8:46 pm
Reply with quote

Hi,

You should remove the HILIGHT=UNDERLINE attribute from the password field. The underline attribute is showing the '______' in the password field.

Regards
Raghu
Back to top
View user's profile Send private message
GauravKudesiya
Warnings : 1

New User


Joined: 11 Oct 2008
Posts: 74
Location: Chicago, IL

PostPosted: Thu Dec 20, 2012 1:01 am
Reply with quote

Thanks Garry and Raghu.

I used PASSWORD just as an example.

I can not remove '_______' as it will get removed from the place where i want it, and user would get confused without that.

Anyways I manage to handle it pragmatically.

I move 'ALL-PROT-DRK-ON' to the Attribute field of the variable when ever i want to hide.

Code:
05  ALL-PROT-DRK-ON           PIC X VALUE  '_'.


I am not sure, but i think this is based on SDF2 Settings.

Thanks for your help.
Regards,
GK
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top