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
 

 

How to change attribute byte to unprocted

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: How to change attribute byte to unprocted
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    Post subject:
Reply with quote

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

http://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    Post subject: Reply to: How to change attribute byte to unprocted
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    Post subject: Reply to: How to change attribute byte to unprocted
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 2 byte YEAR from Y'DATE2' field tecnokrat DFSORT/ICETOOL 2 Tue Feb 07, 2017 12:05 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm


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