In this post we will try to explore a sample program, which creates a variable length file using the COBOL Occurs Depending on clause. I am assuming that you are familiar with the clause and its function so we wont delve into detailed explanation and COBOL syntax but rather explain the use of occurs […]
COBOL
Generating XML using COBOL
You can produce XML output from a COBOL program by using the XML GENERATE statement , the XML GENERATE statement takes as input the source data item for which the XML needs be generated and stores the corresponding XML in a target or receive data item mentioned in your XML GENERATE statement. Both the source and […]
COBOL program using VSAM ESDS
An ESDS VSAM file is very similar to a flat file, as with a flat file the access mode is sequential and the file control section would look very similar to that of a flat file if the ESDS file is of fixed length with both ORGANIZATION and ACCESS MODE being SEQUENTIAL. […]