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
What is the Purpose of Pointer in the string?
How arrays can be defined in COBOL?
Write the code implementing the perform … varying.
Can we change the password using ALTER? anyone tried and changed?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is rmode(24)
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the problem of ordered sequential files access?
What are the rules of the move verb?
Discuss about changing dataset name in proc.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Which Search verb is equivalent to PERFORM…VARYING?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between comp and comp-3?