View previous topic :: View next topic
|
Author |
Message |
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
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 |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi HARIBHARAT,
I am not able to understand ur query.
Please restate it. |
|
Back to top |
|
|
Farooq
New User
Joined: 24 Nov 2006 Posts: 15 Location: Chennai
|
|
|
|
Open file in EDIT mode Type the below Command at Commad line
C all '*' ' ' 7
Thanks
Farooq |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
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 |
|
|
Farooq
New User
Joined: 24 Nov 2006 Posts: 15 Location: Chennai
|
|
|
|
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 |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
thanks farooq
i got Solutions |
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
Is it possible delete all the comment lines(it is 7th postion ) above query extenstion. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Just give
Then
|
|
Back to top |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
hi ekta.
It is deleted entire line , i need to delete that comment only. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
THen use
|
|
Back to top |
|
|
main_prem
New User
Joined: 16 Mar 2005 Posts: 8 Location: chennai
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Main,
Why "3" and not "7"? |
|
Back to top |
|
|
main_prem
New User
Joined: 16 Mar 2005 Posts: 8 Location: chennai
|
|
|
|
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 |
|
|
|