MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to display only paragraph names in a cobol program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Fri Aug 12, 2005 5:45 am    Post subject: how to display only paragraph names in a cobol program Reply with quote

I got to see all the paras in cobol program of 35000 lines.how to display only paragraph names in a cobol program. I want to mask other lines.
Back to top
View user's profile Send private message
shivashunmugam Muthu
Beginner


Joined: 11 Aug 2005
Posts: 5
Topics: 0
Location: Chennai, India

PostPosted: Fri Aug 12, 2005 6:52 am    Post subject: Reply with quote

Quote:

how to display only paragraph names in a cobol program


IF your paragraph ends with 'SECTION', you can give this command..in ISPF

X ALL;F SECTION ALL

it may be section or anuy word which was used to identify the para's name in that srce.
Back to top
View user's profile Send private message Yahoo Messenger
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Fri Aug 12, 2005 7:18 am    Post subject: Reply with quote

my para name does not end with a specific name. Is there any way to display all the lines which start at col 8.
Back to top
View user's profile Send private message
shivashunmugam Muthu
Beginner


Joined: 11 Aug 2005
Posts: 5
Topics: 0
Location: Chennai, India

PostPosted: Fri Aug 12, 2005 7:25 am    Post subject: Reply with quote

x all;f ' ' 8 all

give this command first...will give u rest of lines other than paragraph name

then give

FLIP

it will give the rest lines hided earlier
Back to top
View user's profile Send private message Yahoo Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Aug 12, 2005 7:26 am    Post subject: Reply with quote

Since,
Quote:
I want to mask other lines.
try this at the command line:
Code:
x all;f ' ' 8 all;flip

_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Fri Aug 12, 2005 7:45 am    Post subject: Reply with quote

Thanks, ergo.
why you are searching for ' ' and then flip.could you pls explain.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Fri Aug 12, 2005 7:49 am    Post subject: Reply with quote

I got it.Thanks.
Back to top
View user's profile Send private message
shivashunmugam Muthu
Beginner


Joined: 11 Aug 2005
Posts: 5
Topics: 0
Location: Chennai, India

PostPosted: Fri Aug 12, 2005 7:50 am    Post subject: Reply with quote

hey...

since the 8th column may hav any values (for paragraph's starting letter)...so we search for blank...then FLIP...

FLIP ---> JUS PROVIDING YOU THE EXACT OPPOSITE SCINARIO
Back to top
View user's profile Send private message Yahoo Messenger
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Aug 12, 2005 7:56 am    Post subject: Reply with quote

You are welcome !
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Fri Aug 12, 2005 8:07 am    Post subject: Reply with quote

Thanks Muthu....for your help and efforts.I never thought i will get a reply so soon even for the basic stuff.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Fri Aug 12, 2005 8:15 am    Post subject: Reply with quote

vak255,

You can also try this one without the use of FLIP

[code:1:6dcd979a9d]
X ALL; F P'
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Fri Aug 12, 2005 8:53 am    Post subject: Reply with quote

This goes slightly further:

[code:1:d22feb56c7]
X ALL 8 ' ';X ALL 7 P'
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group