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


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

792


What is the utilization of copybook in cobol?

648


What type of SDLC u followed? Why?

1512


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

650


how do you define single dimensional array and multidimensional array in your cobol?

663






What is the difference between goback, stop run and exit program in cobol?

914


What is the difference between PIC 9.99 and PIC9v99?

771


Whats the difference between search & search ALL?

5241


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

848


In COBOL programming, what is PERFORM? What is VARYING?

666


) How do u handle errors in BMS macro?

1418


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2048


What is amode(31)

712


What is the LINKAGE SECTION used in COBOL?

885


What are the different rules of SORT operation?

689