Uncategorized

How to Execute CLIST   When we start learning CLIST, we learn few commands and are quite excited to test them. Most of the training and tutorials would educate you the methods of executing your CLISTs, but it happens so that these methods do not work on your installation. The following tutorial will list down […]

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 »

JCL TO CONVERT VB TO FB FILE

CONVERTING A FILE IN VB FORMAT TO FB FORMAT //SORTIN   DD DSN=USERID.ABC.VBFORMAT,DISP=SHR     //SORTOUT  DD DSN=USERID.ABC.FBFORMAT,               //            DISP=(,CATLG,DELETE),UNIT=SYSDA,      //            DCB=(LRECL=80,RECFM=FB)                 OUTREC FIELDS(1:20,80),CONVERT          

JCL TO CONVERT VB TO FB FILE Read More »

Disable the Edit/View entry panel When we try to open a PS file in edit/view mode, we get the Edit/View entry panel. This panel allows us to set Initial Macro, Profile Name, Format Name etc. If you don’t use these options they may want to turn these off.This is how you can do it:After entering

Read More »

COBOL PERFORM UNTIL

The following COBOL program depicts the use of         01 WS-SUB   PIC 9 VALUE ZEROS.              PERFORM 20000-FIRST-PARA UNTIL WS-SUB=5              DISPLAY ‘PARA NAME IS  10000-FIRST-PARA’              DISPLAY ‘PARA NAME IS  20000-FIRST-PARA’. The ouput of the above

COBOL PERFORM UNTIL Read More »

Example of REDEFINE CLAUSE PROGRAM IDENTIFICATION DIVISION.                                          PROGRAM-ID. PGM002.                                               AUTHOR. MAINFRAMEWIZARD.                                         DATA DIVISION.                                                   WORKING-STORAGE SECTION.                                          01 DATE1 PIC X(8).                                                01 DATE2 REDEFINES DATE1.                                            05 DATE2-DD    PIC X(2).                                          05 DATE2-MM    PIC X(2).                                          05 DATE2-YYYY  PIC X(4).                                      PROCEDURE DIVISION.                                               10000-MAIN-PARA.                                                        MOVE 08092010 TO DATE1                                   

Read More »