Purusothaman Ramanujam

Purusothaman Ramanujam

Personal Blog

20 Jan 2012

Handling NULL in DB2

The value of an indicator variable tells the status of a row after a query. Host Variable: 01 FILLER. 05 WS-AMOUNT PIC S9(5)V9(2) COMP-3. 05 …

20 Jan 2012

Isolation level in DB2

The list of isoloation leves are listed below. SERIALIZABLE(Repeatable read (RR)) REPEATABLE READ(Read stability (RS)) READ COMMITTED(Cursor …

20 Jan 2012

Freezing columns in File-Aid

While working in MS Excel we have the option of “Freeze Panes”. By this options we can freeze some columns and have other columns scrolling. …

20 Jan 2012

VSAM record count using File-Aid

Whats the best way to count the number of records in a VSAM File? Choose FILE-AID Option 3.8. At the prompt of ….ENTER NEXT FUNCTION OR END …

20 Jan 2012

Read Only VSM Files

By using INHIBIT along with ALTER command, we can have a read-only VSAM dataset. Example: //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* …

20 Jan 2012

Dummy VSM Dataset in JCL

In general we use DUMMY datasets in JCL instead of a actual file for some requirements. But how can we specify dummy VSAM dataset in a JCL? …

20 Jan 2012

TSQ Vs. TDQ

In Temporary Storage Queues Data is read randomly, while in Transient Data Queues data must be read sequentially. In a TSQ data can be read …

20 Jan 2012

Find bad data using File-Aid

The Easiest and Coolest way to locate bad data is thru File-Aid’s FIND command. OPEN the file in FILE-AID (in either browse or edit mode). …

19 Jan 2012

Points to Ponder on DB2 NULL

NULLs can present problems because they are handled differently by different computers and the collating sequence is inconsistent with …

19 Jan 2012

Explanation on DB2 Explain

When an SQL is executed against or bound to a DB2 database, DB2 Optimizer tool defines the access path used to access the data. This access …