• DB2 Stored Procedure Best Example

    Stored procedures can be written in COBOL, PL/1, REXX and Java etc. Db2 stored procedures are handled by WLM -work Load Manager. Main uses are reusability and security. Stored Procedure Flow Note: The language to write stored procedure can be SQL, COBOL, PL/1 and JAVA. It runs in the database (in our case DB2). It needs an input and it…

  • How to create Triggers in SQL

    The triggers in DB2 is really a complex task for many SQL developers. The example SQL helps you to start your journey.

  • DB2-Stored procedures & Triggers

    Both are DB2 code. Stored procedures are created and stored in SYSPROC catalogue table. These are static and whenever user wants they can call in th program. How to call stored procedures? Syntax is as follows: SAMPLE is stored procedure name. Exec SQL CALL SAMPLE END-EXEC. Triggers are dynamic. When particular situation happens to the data due to…

  • PL1 mostly used Logical Expressions

    PLI program top logical expressions. Like many other top level languages PL/I also has For, While, Do While loops.

  • Top JCL The Real Usage of IFTHEN in DFSORT

    DFSORT conditional sort best example. Given here step by step explanation for each step. Read more.

  • Bind Vs Plan Vs Package in DB2

    Bind vs Plan vs Package in DB2 to read today

  • JCL: DFSORT, IFTHEN, Overlay,When,HIT

    Here is a sample DFSORT JCL on how to use IFTHEN, OVERLAY, WHEN and HIT. How to Use IFTHEN, OVERLAY, WHEN, HIT in DFSORT.. //SYSIN     DD     * INREC  IFTHEN =(WHEN=(10,1,CH,EQ’C’),OVERLAY(10:C’+’),HIT=NEXT), IFTHEN=(WHEN=(27,1,CH,EQ’C’),OVERLAY(27:C’+’),HIT=NEXT), and so on SORT FIELDS=COPY OUTREC FIELDS=(1,3122) // Note: HIT=NEXT, tells that to process next IFTHEN Recent Posts

  • DFSORT: OUTFIL,OUTREC,INREC, INCLUDE

    There is a simple way that you will become good in DFSORT. Follow these tips to understand keywords present in DFSORT clearly. Read more.

  • Become a Senior Developer: A Clear Path to Career Growth

    Explore key tips to grow your software development career—from junior roles to leadership—with practical advice on skills, mindset, and smart moves.

  • DB2 SQL Error Codes You Always Need

    DB2 SQL error codes given for interviews as well as to use in your development or production support project.

  • DB2 Rowset to Fetch Multi-rows Easily

    WITH ROWSET POSITIONING specifies that the cursor can be used with either row-positioned or rowset-positioned FETCH statements. This cursor can be used to return either a single row or multiple rows, as a rowset, with a single FETCH statement

  • 12 Tricks to Gain More Skills Freelancing Jobs

    There are many other ways an IT developer can do as a alternative to his current job. Read more.