Operator

Mainframe saves various details against a member or physical sequential file like version, user, create date etc. These details can however be changed by the following methods 1. Using the Rexx code /* rexx */                                               dsname      = “USERID.ABC.XYZ” /* Work PDS    */                              usrid            = “USER1”    /* User id to be updated in the […]

Read More »

Synonym of DB2 Table

Synonyms are used to give some meaningful (alternate) names to the existing tables. These can refer tables which are local to the system, these can not access the remote tables. If a table is dropped then all the associated synonyms are dropped automatically. How to Create Synonym on a DB2 Table? CREATE SYNONYM synonym_name FOR

Synonym of DB2 Table Read More »

DIFFERENCE BETWEEN STRING and MOVE

DIFFERENCE BETWEEN STRING and MOVE The following COBOL program depicts the use of  difference between STRING and MOVE command        01 WS-STRING1    PIC X(19) VALUE ‘MAINFRAMEWIZARD.COM’.        01 WS-STRING2    PIC X(19) VALUE ‘MAINFRAMEWIZARD.COM’.              MOVE  ‘COBOLLANG’ TO WS-STRING1             

DIFFERENCE BETWEEN STRING and MOVE Read More »

Changing Long strings Have you faced a situation where the string that you wish to changedoes not fit the command line? If the answer is Yes then you may beinterested in the following tipMy command line looks like belowCOMMAND ==> ____________________________________________________and I have to execute the following commandCHANGE A_VERY_VERY_VERY_VERY_LONNNNNNNNNNNNNNNNNNG_STRING TO A_NEW_STRINGThe above command is too

Read More »