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

What is Pic 9v99 Indicates in COBOL?

1256


What are the different rules of SORT operation?

1138


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

1074


What are all the divisions of a COBOL program?

1214


What are the cobol coding sheets?

1265


What is the difference between PIC 9.99 and PIC9v99?

1338


Write a program that uses move corresponding.

1144


What rules are to be followed while using the corresponding options?

1063


How to know whether the module is dynamical or statistical?

1135


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9104


What is link edit in cobol?

1195


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1163


What are the different data types in cobol?

1437


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4167


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2294