Uncategorized

How to calculated maximum space using primary and secondary units

How to calculated maximum space using primary and secondary units Before I start my question, let me provide an example     How much total space be allowed for  SPACE=(TRK,(10,5))  I read somewhere during my training that the total units can be calculated by using the following formula Total units(Trks/blks/cyl)= Primary + 15 * Secondary. SPACE=(TRK,(10,5)) […]

How to calculated maximum space using primary and secondary units Read More »

sql code -804

I was facing sql code -804 while executing a query from cobol db2 program.  The explanation for this sql code on ibm site was described as following   AN ERROR WAS FOUND IN THE APPLICATION PROGRAM INPUT PARAMETERS FOR THE SQL STATEMENT, REASON reason

sql code -804 Read More »

COBOL GO TO DEPENDING ON

The following COBOL program depicts the use of         01 PARA-NUM PIC 9 VALUE ZEROS.              DISPLAY ‘PARA NAME IS  10000-FIRST-PARA’              DISPLAY ‘PARA NAME IS  20000-FIRST-PARA’.              DISPLAY ‘PARA NAME IS  25000-SECOND-PARA’.           

COBOL GO TO DEPENDING ON Read More »