cobolsucksbadly
Programmer
this is my 2nd day using Fujitsu. All I want to do is read, process and output a file. I've figured out where to place everything but I get this extra fluff that I DON'T WANT! How can I get rid of it?
**** WORKING STORAGE IS ABOVE *********
000246 LINKAGE SECTION.
000247 01 POW-FORM IS GLOBAL.
000248 02 POW-SELF PIC S9(9) COMP-5.
000249 02 POW-SUPER PIC X(4).
000250 02 POW-THIS PIC S9(9) COMP-5.
000251 01 SALASSIGN REDEFINES POW-FORM GLOBAL PIC S9(9) COMP-5.
000252 01 POW-CONTROL-ID PIC S9(9) COMP-5.
000253 01 POW-EVENT-ID PIC S9(9) COMP-5.
000254 01 POW-OLE-PARAM PIC X(4).
000255 01 POW-OLE-RETURN PIC X(4).
000257 PROCEDURE DIVISION USING POW-FORM POW-CONTROL-ID POW-EVENT-ID POW-OLE-PARAM POW-OLE-RETURN.
000258 EXIT PROGRAM.
******* THE FLUFF IS ABOVE ****
000259
000261 000-SAL-MAINLINE.
000262 PERFORM 100-SAL-INIT.
000263 PERFORM 200-SAL-FIRST-READ-VALIDATE
000264 UNTIL WS-RECORD-OK-FIRST = 'YES'.
000265 PERFORM 300-SAL-PROCESS-RECORD
000266 UNTIL WS-EOF-SWITCH = 'YES'.
000267 PERFORM 900-SAL-WRAPUP.
000268 STOP RUN.
**** WORKING STORAGE IS ABOVE *********
000246 LINKAGE SECTION.
000247 01 POW-FORM IS GLOBAL.
000248 02 POW-SELF PIC S9(9) COMP-5.
000249 02 POW-SUPER PIC X(4).
000250 02 POW-THIS PIC S9(9) COMP-5.
000251 01 SALASSIGN REDEFINES POW-FORM GLOBAL PIC S9(9) COMP-5.
000252 01 POW-CONTROL-ID PIC S9(9) COMP-5.
000253 01 POW-EVENT-ID PIC S9(9) COMP-5.
000254 01 POW-OLE-PARAM PIC X(4).
000255 01 POW-OLE-RETURN PIC X(4).
000257 PROCEDURE DIVISION USING POW-FORM POW-CONTROL-ID POW-EVENT-ID POW-OLE-PARAM POW-OLE-RETURN.
000258 EXIT PROGRAM.
******* THE FLUFF IS ABOVE ****
000259
000261 000-SAL-MAINLINE.
000262 PERFORM 100-SAL-INIT.
000263 PERFORM 200-SAL-FIRST-READ-VALIDATE
000264 UNTIL WS-RECORD-OK-FIRST = 'YES'.
000265 PERFORM 300-SAL-PROCESS-RECORD
000266 UNTIL WS-EOF-SWITCH = 'YES'.
000267 PERFORM 900-SAL-WRAPUP.
000268 STOP RUN.