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
 

 

Mask Password field with *****

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Mon Oct 08, 2007 7:08 pm    Post subject: Mask Password field with *****
Reply with quote

Hi,

Can anyone tell the attribute or the keyword used to display '*****' in the place of entering the Password.

If you try to login using your userid & password.
User Id : test01
Pwd : *****

Actual pwd : pwd01
In the Screen it should appear as *'s and this should be done when entering the data.

I dont want *'s to come after pressing ENTER or any KEY using the logic in program.
*'s should be displayed when typing on the screen itself
.

Thanks & Regards,
Chandramouli.V
Back to top
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Mon Oct 08, 2007 7:30 pm    Post subject:
Reply with quote

As long as you use BMS to define your screens, the only option that I know of for password input is to use ATTRB=DRK,
but it will not display *'s it will leave the field "empty".
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Oct 08, 2007 7:40 pm    Post subject: Re: Mask Password
Reply with quote

cvadlamudi wrote:
In the Screen it should appear as *'s and this should be done when entering the data.
You can't. BMS, unlike unix/windows, is buffered operation, the MF has no idea of what you are entering on the screen until you send the screen to the MF.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Tue Oct 09, 2007 12:04 am    Post subject: Reply to: Mask Password field with *****
Reply with quote

If you are defining CICS panels, you can set your attribute section as:

Code:

)ATTR                                                           
  + TYPE(TEXT) INTENS(LOW) SKIP(ON)                             
  ¬ TYPE(INPUT) INTENS(NON) PAD(' ') JUST(LEFT) CAPS(ON)         


The NON intensity does not display any characters (although it doesn't display asterisks either).

When you define the input field on the panel

Code:

- ENTER THE NEW PASSWORD FOR ALL LPARS...... ==> ¬NEWPASS1+ 


The ¬ goes prior to the symbolic and the + follows the field. This allow for a user to enter an 8 position password without it being displayed.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Tue Oct 09, 2007 4:06 pm    Post subject:
Reply with quote

cpuhawg, you certainly meant "If you are defining ISPF panels..."
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Oct 10, 2007 2:47 am    Post subject:
Reply with quote

i think cpuhawg is referring to IBM screen definition facility >>SDF
that many CICS shops have for screen paint definition of BMS.

and it runs in TSO/ISPF



course you can always go the ol' timer route , code the cics assembly dfhmdf macros or some other software tools that generates the macros
for you
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Oct 10, 2007 2:50 am    Post subject:
Reply with quote

i took another look at cpuhawg response, doesn't look like SDF panel
defintion, most be some other software or a homegrown tool


cpuhawg , what is it?
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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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