Archive | Mainframe RSS feed for this section

Mainframe REXX macro to capture TSO screen messages

Mainframe REXX macro utility to capture TSO screen output messages and to output those messages in Browse mode. This macro can be assigned to one of PF keys to execute whenever required.

Read full story Comments { 0 }

IMS database

Question: What is the physical nature of a database called? Answer: DBD Question: Is it necessary that all the segments in a Dl/i database have key fields ? Answer: It is not necessary that all the segments in the database should have key field, expect for the database. Question: How man key fields and search […]

Read full story Comments are closed

REXX program to get list of datasets

Sample REXX program to get list of datasets   /******************************Rexx***********************************/ /* Rexx Program to retrieve the List of Datasets Names Prefixed */ /* with given qualifier */ /* */ /* — By Murali*/ /*©2008 Muralidharan Ramasamy –*/ /*********************************************************************/ Address Tso “Execio * Diskr Filelist(Stem Inmds. finis” If Rc > 0 then Do Say ‘!!!! […]

Read full story Comments are closed


To place the cursor on a particular position on the screen, Move -1 to the length attribute of the field and use the CURSOR option Define the field with IC in the BMS map Use CURSOR(n m)   Outputs created as a result of generation of a map? The map copybook and the load module […]

Read full story Comments are closed


JOIN The ability to join rows and combine data from two or more tables is one of the most powerful features of relational system. There are three type of joins:1. Equi-join; 2.Non-equijoin; 3.self-join   Batch performance monitor for DB2, DB2PM   Q: Can I alter a table (like adding a column) when other user is […]

Read full story Comments are closed


Q1. What are the types of VSAM datasets? A1. Entry sequenced datasets (ESDS), key sequenced datasets (KSDS) and relative record dataset (RRDS). Q2. How are records stored in an ESDS, entry sequenced dataset? A2. They are stored without respect to the contents of the records and in the order in which they are included in […]

Read full story Comments are closed

Assembler language – Mainframe

Registers: 16 general purpose 32 bit registers numbered 0 through 15. 4 64 bit floating point registers.   Addressing – Register: the operand is in the register. Example: AR R2,R3 *Contents of R3 added to R2, result remains in R2 SR R3,R4 *Contents of R4 subtracted from R3, result in R3 LR R4,R5 *Contents of […]

Read full story Comments are closed


JCL It is an interface between operating system (MVS) & the application program. When two related programs are combined together on control statements, it is called job control language Maximum blocksize for a Tape file is 32,760. Based on that we can calculate efficient number of Records in a Block Job can be executed continuously […]

Read full story Comments are closed

COBOL Language

COBOL Language   Divisions in a COBOL program IDENTIFICATION DIVISION, ENVIRONMENT DIVISION, DATA DIVISION, PROCEDURE DIVISION.   Data Division related tips   Different data types COBOL Alpha-numeric (X), Numeric (9).   PIC 9v99 v indicates assumed decimal point. Total bytes = 3.   COMP Binary storage format Sign is stored in most significant bit. If […]

Read full story Comments are closed

Privacy Preference Center