Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Want replace all the lines with space insted of *.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Nov 29, 2006 2:40 pm    Post subject: Want replace all the lines with space insted of *.
Reply with quote

I have 7th col *(comment) this is avalible no of lines , we dont know exactely.

i want replace all the lines space insted of *.

please advise me below command is not working

delete '*' 7 ' ' ALL
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Nov 29, 2006 3:08 pm    Post subject:
Reply with quote

Hi HARIBHARAT,
I am not able to understand ur query.
Please restate it.
Back to top
View user's profile Send private message
Farooq

New User


Joined: 24 Nov 2006
Posts: 15
Location: Chennai

PostPosted: Wed Nov 29, 2006 3:12 pm    Post subject: I have 7th col *(comment) this is avalible no of lines , we
Reply with quote

Open file in EDIT mode Type the below Command at Commad line

C all '*' ' ' 7


Thanks
Farooq
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Nov 29, 2006 3:17 pm    Post subject: Re: Want replace all the lines with space insted of *.
Reply with quote

My question is my program total 500 lines is there , every 7th position comment is there near a 130 lines commented, now I want to replace with all the comments to space.
How it is possible?
Back to top
View user's profile Send private message
Farooq

New User


Joined: 24 Nov 2006
Posts: 15
Location: Chennai

PostPosted: Wed Nov 29, 2006 3:19 pm    Post subject: 7th col *(comment)
Reply with quote

Hi Hari

Try the Below

Open file in EDIT mode Type the below Command at Commad line

C all '*' ' ' 7


Thanks
Farooq
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Nov 29, 2006 3:20 pm    Post subject: Re: Want replace all the lines with space insted of *.
Reply with quote

thanks farooq
i got Solutions
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Nov 29, 2006 3:28 pm    Post subject: Re: Want replace all the lines with space insted of *.
Reply with quote

Is it possible delete all the comment lines(it is 7th postion ) above query extenstion.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Nov 29, 2006 3:44 pm    Post subject:
Reply with quote

Just give

Code:
X '*' 7 all

Then

Code:
DEL all X
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Nov 29, 2006 5:20 pm    Post subject: Re: Want replace all the lines with space insted of *.
Reply with quote

hi ekta.

It is deleted entire line , i need to delete that comment only.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Wed Nov 29, 2006 7:27 pm    Post subject:
Reply with quote

THen use

Code:
C '*'  ' ' 7 all
Back to top
View user's profile Send private message
main_prem

New User


Joined: 16 Mar 2005
Posts: 8
Location: chennai

PostPosted: Fri Dec 22, 2006 5:05 pm    Post subject: Re: Want replace all the lines with space insted of *.
Reply with quote

Hi Haribharath,

today only i have seen your query..

Just type C ALL '*' ' ' 3

this will make all the command line to active lines..
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Dec 23, 2006 8:40 pm    Post subject:
Reply with quote

Hi Main,

Why "3" and not "7"?
Back to top
View user's profile Send private message
main_prem

New User


Joined: 16 Mar 2005
Posts: 8
Location: chennai

PostPosted: Tue Dec 26, 2006 11:05 am    Post subject:
Reply with quote

Hi mmwife,

for eg the jcl is looks like this

000240 //* MAINTENANCE HISTORY:

if we want to replace the '*' with space we have to give in the cmd line

C ALL '*' ' ' 3

Bcoz the system wont calculate the numberings(000240) , So 3 is the 3 rd column. * lies in 3rd column.
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 The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us