mainframe computer

Mainframe Computers Mainframe computers are very large and expensive computers often called as big iron machines used by thousands and even more users simultaneously. These are primarily used by big financial organisations(banks and insurance companies), retail giants, corporate and government organizations for supporting critical applications where data security and bulk processing is a key factor.

mainframe computer Read More »

COBOL EVALUATE FALSE

The following COBOL program depicts the use of         01 WS-SUB   PIC 9  VALUE ZEROS.                   DISPLAY ‘WS-SUB IS GREATER THAN 4’                   DISPLAY ‘WS-SUB IS GREATER THAN 5’                   DISPLAY

COBOL EVALUATE FALSE Read More »

SORT JCL with STOPAFT

If you wish to stop sorting after say N number of records then you can use the following Where n is the number of records after which sorting is required to be stopped. Example JCL is provided below. ; ; ; ; //SORTIN   DD DISP=SHR,DSN=USERID.ABC.INPFILE, //SORTOUT  DD DSN=USERID.ABC.OUTFILE, //      SPACE=(TRK,(30,10),RLSE),    

SORT JCL with STOPAFT Read More »

SORT JCL with SKIPREC

If you wish to skip certain number of records while sorting you can use the following Where n is the number of records which are to be skipped while sorting Example JCL is provided below. ; ; ; ; //SORTIN   DD DISP=SHR,DSN=USERID.ABC.INPFILE, //SORTOUT  DD DSN=USERID.ABC.OUTFILE, //      SPACE=(TRK,(30,10),RLSE),          

SORT JCL with SKIPREC Read More »

SQL code -204

SQL code of -204 comes due to sql involving an object which is not defined.  SQLCODE = -204, ERROR:  objectname IS AN UNDEFINED NAME When does Sql code -204 comes? Sqlcode -204 can come if the sql involves an object which is not defined. This could happen with any DB2 object. This sqlcode can also

SQL code -204 Read More »