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

Mask Password field with *****


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 1353
Location: Israel

PostPosted: Mon Oct 08, 2007 7:30 pm
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: 2146
Location: At my coffee table

PostPosted: Mon Oct 08, 2007 7:40 pm
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
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: 1353
Location: Israel

PostPosted: Tue Oct 09, 2007 4:06 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top