Operator

ISREDIT MACROS Picture Strings A picture string in a FIND, CHANGE, or EXCLUDE command allows you to search for a particular kind of character without regard for the specific character involved. You can use special characters within the picture string to represent the kind of character to be found, as follows:   String MeaningP’=’    Any

Read More »

COBOL PERFORM PARA

The following simple COBOL program depicts the use of         01 WS-SUB PIC 9(3) VALUE ZEROS.              DISPLAY ‘CALLING PARA USING PERFORM BY MAINFRAMEWIZARD.COM’              DISPLAY ‘PARA NAME IS  10000-FIRST-PARA’              DISPLAY ‘PARA NAME IS  20000-FIRST-PARA’     

COBOL PERFORM PARA Read More »

COBOL PERFORM THRU

The following simple COBOL program depicts the use of         01 WS-SUB PIC 9(3) VALUE ZEROS.              PERFORM 20000-FIRST-PARA THRU 30000-THIRD-PARA              DISPLAY ‘DEPICTING PERFORM THRU BY MAINFRAMEWIZARD.COM’              DISPLAY ‘PARA NAME IS  10000-FIRST-PARA’         

COBOL PERFORM THRU Read More »

The following CLIST can be used to read a line from dataset USERID.PARM1. Here FIL1 is symbolic name of the file. ALLOC F(FIL1) DA(‘USERID.PARM1’) SHR REU     OPENFILE FIL1                                 GETFILE FIL1                                  CLOSFILE FIL1                                 FREE FILE(FIL1)                               SET VAL1 = &SUBSTR(1:7,&FIL1)                 SET VAL2 = &SUBSTR(9:16,&FIL1)                WRITE &VAL1                                   WRITE &VAL2                                    END

Read More »

ISPP330 BDISPMAX exceeded       -/-100 displays exceeded in batch mode on panel   Cause IF your edit macro (used in batch) does not end with a statement like “END” or “CANCEL” to terminate the edit session. Then the above error occurs. Take a look at the following example. If the statement marked in bold is missing

Read More »

S322 Abend

S322 Abend What is a S322 Abend? S322 is a “Time out” system Abend When S322 Abend occurs? The time taken by the job was more than the time specified in the TIME parameter of the EXEC or the job statement. The time taken by the job has exceeded the limit set in JES. How

S322 Abend Read More »