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

Change all the characters from column 1 to 8 to spaces


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 2358
Location: Israel

PostPosted: Fri Dec 08, 2006 4:27 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts RC query -Time column CA Products 3
No new posts leading spaces can be removed in trai... DFSORT/ICETOOL 1
Search our Forums:

Back to Top