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
 
Protected Variable.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Protected Variable.
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

Active Member


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

PostPosted: Wed Dec 19, 2012 8:19 pm    Post subject:
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    Post subject: Reply to: Protected Variable.
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    Post subject: Protected Variable.
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    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 Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts Can I traverse a STEM variable? chong.zhou CLIST & REXX 5 Wed May 31, 2017 3:54 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm

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