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 / saikat
take the infile and outfile same in the jcl but in 2 dd
statement. Declare one ainput file to read and other as
output file to write in cobol program. Then read the file
and srore the file contents in an array/table. after
reading the full file write the file from the array records.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the difference between PIC 9.99 and PIC9v99?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
how do you reference the fixed unblock file formats from cobol programs
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Describe the cobol database components?
What is a SSRANGE and NOSSRANGE?
What are the rules of the move verb?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
How do you differentiate between cobol and cobol-ii?
Have you used comp and comp-3 in your project? And how?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
How to remove 2 duplicate records and copy only one using job control language?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
how to move the records from file to array table. give with code example
i need a small 3d program using inline and outline.