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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Not able to edit all the data in a PS in hex mode
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

Site Director


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

PostPosted: Fri May 02, 2008 3:00 am    Post subject:
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

Site Director


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

PostPosted: Fri May 02, 2008 3:11 am    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri May 02, 2008 3:20 am    Post subject: Re: Not able to edit all the data in a PS in hex mode
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    Post subject: Reply to: Not able to edit all the data in a PS in hex mode
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

Site Director


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

PostPosted: Fri May 02, 2008 3:31 am    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri May 02, 2008 3:47 am    Post subject:
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: 456
Location: Belgium

PostPosted: Fri May 02, 2008 4:02 am    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri May 02, 2008 4:09 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 2 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


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