હિમાંશુ પરભુભાઇ મિસ્ત્રી | Himanshu Mistry

જુલાઇ 22, 2009

deleting all non-exclude X ALL lines in ISPF

Filed under: how to,learning,mainframe — Himanshubhai Mistry @ 6:24 પી એમ(pm)

How to delete all Un-Excluded Lines in ISPF

Generally you would have used :
x all; find all <criteria>; del x all

It deletes all lines you have excluded (and don’t need any more) in your dataset.

Here we have different scenario:

We want to exclude all lines that meets a <criteria> and then delete all lines that don’t meet the <criteria> …

steps :

[1] x all <criteria>

It will exclude all lines having the <criteria>

Now read carefully

Now you want to delete all visible lines and keep all excluded lines (which meets your <criteria>)…………..

and unwanted lines are now visible to you.

you want to delete these all visible (unwanted) lines.

the command you have to issue is :

[2] del all nx

it will keep all excluded lines and delete all visible lines.

You will see all the lines are excluded in your dataset,

Just issue reset command and view the result..

Got it ??? !!!!

Advertisements

ટિપ્પણી આપો »

હજુ સુધી કોઈ ટિપ્પણીઓ નથી.

RSS feed for comments on this post. TrackBack URI

પ્રતિસાદ આપો

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / બદલો )

Twitter picture

You are commenting using your Twitter account. Log Out / બદલો )

Facebook photo

You are commenting using your Facebook account. Log Out / બદલો )

Google+ photo

You are commenting using your Google+ account. Log Out / બદલો )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: