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
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
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 ?
Discuss about changing dataset name in proc.
what is the use of outrecord?
how to move the records from file to array table. give with code example
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is length is cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How to print 10 to 1 if the input have only 10 digit number?
) How do u handle errors in BMS macro?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are the different open modes available in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Can we redefine the field of x(200) to less than 200?