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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Identify and write records containing... SYNCSORT 11
No new posts To Unstring spaces in a field COBOL Programming 3
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts IBM HPU 5.2 - Converting EBCDIC Chara... DB2 0
No new posts how to complete the end of a record w... DFSORT/ICETOOL 2
Search our Forums:


Back to Top