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
 

 

Change all the characters from column 1 to 8 to spaces

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
athiqmsr
Warnings : 2

New User


Joined: 27 Jul 2006
Posts: 10

PostPosted: Fri Dec 08, 2006 2:48 pm    Post subject: Change all the characters from column 1 to 8 to spaces
Reply with quote

I have a program and I want to change all the characters from column 1 to 8 to spaces. And this should be achieved in one single command. How can I do this?

WARNING: TITLE CHANGED FROM 'PLEASE HELP ME'
Back to top
View user's profile Send private message

athiqmsr
Warnings : 2

New User


Joined: 27 Jul 2006
Posts: 10

PostPosted: Fri Dec 08, 2006 4:19 pm    Post subject: how to change all the charecters to spaces?
Reply with quote

have a program and I want to change all the characters from column 1 to 8 to spaces. And this should be achieved in one single command. How can I do this?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Dec 08, 2006 4:27 pm    Post subject:
Reply with quote

Try this: CHANGE ALL P'?' ' ' 1 8

O.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Dec 09, 2006 9:09 am    Post subject:
Reply with quote

If you don't have a "?" on your keyboard, you can also use this:

CHANGE ALL P'=' ' ' 1 8

Slightly different but gives the same result.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm


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