View previous topic :: View next topic |
Author |
Message |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Thu Jul 07, 2005 4:25 am Post subject: Non editable positions in a dataset |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Thu Jul 07, 2005 6:04 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Thu Jul 07, 2005 7:14 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
Posted: Thu Jul 07, 2005 7:23 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Thu Jul 07, 2005 7:44 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
taltyman JCL Forum Moderator
![JCL Forum Moderator JCL Forum Moderator](images/ranks/homer8.gif)
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Thu Jul 07, 2005 8:02 am Post subject: |
|
|
If I understand what you want to do try
c x'00' x'40' 65 65 |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Thu Jul 07, 2005 8:14 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12367 Topics: 75 Location: San Jose
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
KOUSIK Beginner
Joined: 04 Jan 2005 Posts: 26 Topics: 13
|
Posted: Thu Jul 07, 2005 9:23 am Post subject: |
|
|
Kolusu,
I understand that but was expecting something specific to deal with NULLS like what you said before NULLS OFF... |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Jul 07, 2005 11:03 am Post subject: |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|