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
Explain about different table spaces.
Have you used comp and comp-3 in your project? And how?
What rules are followed by the search verb.
Name some of the examples of COBOl 11?
State the various causes of s0c1, s0c5 and s0c7.
Explain how you can characterize tables in cobol?
What is the usage of comp fields in cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
) what is the difference between AID and HANDLE AID?
What are the pertinent COBOL commands?
Why would you use find and get rather than to obtain?
Write the code to count the sum of n natural numbers.
In which area will you utilize 88 level items in cobol?
How do you get the data to code the BMS macro?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad