Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

hi is there any means of deletin a record from a ps usin
cobol
not using jcl?eg if i am reading a record and if some
condition is matched tat particular record must be deletd
fom the ps

Answer Posted / manikandan

Ofcourse you can do it. You can do it by a simple sort.
You can use either INCLUDE COND or EXCLUDE COND in the
sysin part.

Ex: If you want to delete a record whose first 4 characters
are 'BBBB', you can do it with the following sysin card,

SORT FIELDS=COPY
INCLUDE COND=(1,4,CH,NE'BBBB')

OR
SORT FIELDS=COPY
EXCLUDE COND=(1,4,CH,EQ'BBBB')

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about different table spaces.

1089


Have you used comp and comp-3 in your project? And how?

2475


What rules are followed by the search verb.

1103


Name some of the examples of COBOl 11?

3136


State the various causes of s0c1, s0c5 and s0c7.

1075


Explain how you can characterize tables in cobol?

1055


What is the usage of comp fields in cobol?

1178


What is an in line perform? When would you use it? Anything else you wish to say about it.

1069


) what is the difference between AID and HANDLE AID?

2149


What are the pertinent COBOL commands?

3168


Why would you use find and get rather than to obtain?

1180


Write the code to count the sum of n natural numbers.

1204


In which area will you utilize 88 level items in cobol?

1161


How do you get the data to code the BMS macro?

1963


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1500