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

How to change attribute byte to unprocted


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ajay Bisht

New User


Joined: 12 Sep 2006
Posts: 6

PostPosted: Wed Aug 25, 2010 9:40 pm
Reply with quote

Please tell me what will be the Attribute byte to make a field Unprotected and also to shift cursor position to that field. Below is the field defintion:

01 ws-field.
05 ws-field-prefix
10 ws-cur-attr pic x(1).
10 ws-oth-attr pic x(1).
05 ws-field-value pic x(1).
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Wed Aug 25, 2010 10:51 pm
Reply with quote

I am not sure what you are trying to do, but please read this for some insight.

ibmmainframes.com/viewtopic.php?t=37454&highlight=attribute+byte
Back to top
View user's profile Send private message
mkarthikeyan

New User


Joined: 07 Aug 2008
Posts: 34
Location: Bangalore

PostPosted: Thu Aug 26, 2010 2:38 am
Reply with quote

Ajay,

cud u pls try...

01 WS-FIELD.
05 ws-field-prefix
10 ws-cur-attr pic x(1).
10 ws-oth-attr pic x(1).
05 ws-field-value pic x(1).

01 Position.
05 CUR-POS PIC X VALUE X'C0'.
05 ATR-UNPROT-ALPHA-MOD PIC X VALUE X'CD'.

MOVE Position TO ws-field-prefix.

Note: Please make sure ATTR=YES in message field
Back to top
View user's profile Send private message
Ajay Bisht

New User


Joined: 12 Sep 2006
Posts: 6

PostPosted: Thu Aug 26, 2010 5:24 pm
Reply with quote

Thanks a lot karthik, its working.

Thanks to Sandy also !!
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts 10 byte RBA conversion DB2 2
No new posts 10 byte RBA conversion -non applicati... JCL & VSAM 1
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
Search our Forums:

Back to Top