MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Non editable positions in a dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Thu Jul 07, 2005 4:25 am    Post subject: Non editable positions in a dataset Reply with quote

Hi all,

I have a VB dataset which has around 1500 records. And in a particular position, say column 65 there is a single character value ( Y or N ). But, in certain records in this position there are no characters and when I try to type in the character value, it is not allowing me.

In certain records this particular position is protected, in the sense it acts like a Protected area in CICS. I went for a HEX ON command in the dataset and saw the HEX value at this position. It was showing me 00 and changed it to 40 ( space ) and then tried to edit that position and I could type in a character.

Can anybody please let me know a way of changing this particular position in all the records editable, because it is not possible for me to go and change the HEX value to 40 in all the records.

Any help in this regard is appreciated.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Thu Jul 07, 2005 6:04 am    Post subject: Reply with quote

KOUSIK,

Type NULLS OFF at the command prompt when you are in edit mode of the dataset and press enter. Now try editing the dataset.


Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Thu Jul 07, 2005 7:14 am    Post subject: Reply with quote

Kolusu,

I tried as you said but still it is in non-editable format. I am unable to type anything in that position.

Please advise me with any other alternative.

Thanks,
Kousik
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Thu Jul 07, 2005 7:23 am    Post subject: Reply with quote

KOUSIK,

Type PROF at your command prompt in edit mode and paste the results in here.

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Thu Jul 07, 2005 7:44 am    Post subject: Reply with quote

TEMP (VARIABLE - 4088)....RECOVERY OFF WARN....NUMBER OFF
CAPS ON....HEX OFF....NULLS OFF....TABS OFF..............
AUTOSAVE ON....AUTONUM OFF....AUTOLIST OFF....STATS OFF..
PROFILE UNLOCK....IMACRO NONE....PACK OFF....NOTE ON.....
HILITE OFF CURSOR FIND...................................

Kolusu,

Please find the PROFILE of my dataset above.

Thanks,
Kousik
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Jul 07, 2005 8:02 am    Post subject: Reply with quote

If I understand what you want to do try
c x'00' x'40' 65 65
Back to top
View user's profile Send private message
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Thu Jul 07, 2005 8:14 am    Post subject: Reply with quote

Talty,

That would be a good solution and thanks a bunch, but would like to know if there is any specific ISPF edit command to do this.


Thanks,
Kousik
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12367
Topics: 75
Location: San Jose

PostPosted: Thu Jul 07, 2005 8:17 am    Post subject: Reply with quote

Kousik,

Change is indeed a ISPF edit command !

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KOUSIK
Beginner


Joined: 04 Jan 2005
Posts: 26
Topics: 13

PostPosted: Thu Jul 07, 2005 9:23 am    Post subject: Reply with quote

Kolusu,

I understand that but was expecting something specific to deal with NULLS like what you said before NULLS OFF...
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jul 07, 2005 11:03 am    Post subject: Reply with quote

NULLS in the editor means sommething else. You are working with non-printable characters so the change command is what you are looking for. ISPF always substitutes an attribute byte on the screen for non-printable characters.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group