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
 

 

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: 994
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: 186
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm


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