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
how do you reference the rrds file formats from cobol programs
What is difference between static and dynamic call in cobol?
Why did you choose to work with ibm mainframe cobol programming?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How do you reference the fixed block file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What are various search techniques in cobol? Explain.
What is cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is a SSRANGE and NOSSRANGE?
how do you reference the variable unblock file formats from cobol programs
Difference between cobol and cobol-ii?
Write a program to enter and display the names of students in a class using the occurs clause.