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

Not able to edit all the data in a PS in hex mode


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rammraju

New User


Joined: 05 Mar 2005
Posts: 65
Location: Hyderabad

PostPosted: Fri May 02, 2008 2:41 am
Reply with quote

Hi all,
I am trying to edit a dataset, I made HEX ON and at certain places i am not able to edit the dataset.

Code:
 { -\{  \{  \            \
EC06EC00EC00E000000000000E
F0100010001000000000000000


The above is a sample piece of data in my physical sequential dataset. When I try to delete in the empty areas, ISPF is not allowing me to do this. Is there a something i have to set up to do this.

Please let me know

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri May 02, 2008 3:00 am
Reply with quote

Hello Ram,

Are you calling the lines with "nothing" in the character area and hex zeros below them the "empty" areas?

If yes, they are not really "empty" - those bytes contain x'00'.

If no please clarify.

Either way, please explain how you "try to delete" them.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri May 02, 2008 3:11 am
Reply with quote

To add to my previous reply:

If you are EDITing with HEX ON, you can make changes to the 2 lines of hex and the change will be reflected in the character line.
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: Fri May 02, 2008 3:20 am
Reply with quote

rammraju wrote:
When I try to delete in the empty areas, ISPF is not allowing me to do this.
I do recall editing and deleting while altering the length of variable records.
A pds should not be much different, but a load module PDS (recfm U) may be something else........
Exactly how are you 'deleting' the empty areas?
And what is the recfm of the dataset/PDS?
Back to top
View user's profile Send private message
rammraju

New User


Joined: 05 Mar 2005
Posts: 65
Location: Hyderabad

PostPosted: Fri May 02, 2008 3:22 am
Reply with quote

Yes you are correct, If i have to change the character value i can edit the two lines of HEX. But here I want to delete a particular character so that the rest of the data can move one character left.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri May 02, 2008 3:31 am
Reply with quote

Hi Ram,

While in HEX ON, move the cursor to the character to be deleted and press the delete key. Then delete the 2 values in the hex lines for that character.

This will only work if your data line fits on the screen and there is no data to the right of the displayed data.

If you want to delete all of the data ion a particular position in all of the records, i'd suggest you use sort.
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: Fri May 02, 2008 3:47 am
Reply with quote

dick scherrer wrote:
This will only work if your data line fits on the screen and there is no data to the right of the displayed data.
I do recall slowly shifting the display right and 'dragging' the hole closed all the way to the end....grin.....
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Fri May 02, 2008 4:02 am
Reply with quote

If I get well your problem :
Play with BOUNDS placing the "less than" sign correctly then shift with (nn

Cheers
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: Fri May 02, 2008 4:09 am
Reply with quote

Yea, figures for you 'TSO' nuts, there would be an easy way....grumble....

Bill, just the CICS Guy (and ex VSE sysprog)....grin.....
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri May 02, 2008 6:29 pm
Reply with quote

Hi Ram,
Code:

Have you tried c x'00'b''

where b is a space and
          '' are 2 single quotes w/no space between.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top