ISPVCALL ISPVCALL is a program written by the great Doug Nadel, this program writes information about your environment to a trace data set including OS version RACF version TSO Version JES Version CPU • Memory allocation The list of allocated DD names and data sets and a hell lot more that you shall possibly […]
Sample COBOL Program Using “Occurs Depending On”
In this post we will try to explore a sample program, which creates a variable length file using the COBOL Occurs Depending on clause. I am assuming that you are familiar with the clause and its function so we wont delve into detailed explanation and COBOL syntax but rather explain the use of occurs […]
DB2 Unload DSNTIAUL
Data from a DB2 table can be unloaded mainly using two DB2 utilities, the latest high performance unload utility (HPU) which is supported by DB2 version 10 and above or the good old DSNTIAUL. Let’s take a look at DSNTIAUL parameters and a sample JCL to execute the an unload //STP001 EXEC PGM=IKJEFT01 //STEPLIB […]
Introduction to CICS Channels and Containers
COMMAREA is something all of us, CICS programmers, are familiar with; it has been an integral part of CICS programing since its introduction in 1975 and continues to do so even today. Then why Channel and Containers now? What are the advantages? Should you switch over? These are the questions which we will try to […]
Search using SRCHFOR Command
SRCHFOR primary command to search for one or more strings of data, this command can be used to search for a string in Sequential data sets Partitioned data sets Individual members of partitioned data sets Concatenated data sets You can search for more than one string in a single pass. You can also search […]
How to Create a new IMS Database
As part of my work, however unfortunate it many seem for an application developer, I was asked to create a brand new IMS Database. For my boss who comes from an open system background, creating a DB is always just a Command or Click away and my best efforts to explain the complexity of […]
Converting Numeric fields to Different formats Using SORT
There are might be instances when you need to convert the internal storage of a numeric filed , DFSORT allows you to accomplish this outside your program , lets look at the various options available. Converting Binary to Displayable Zoned Decimal If you want a binary value to made readable , you can do so […]
CICS Translation Process Demystified
In this article we will try to explore the steps involved in compiling a CICS program and the transformation it undergoes. The compilation of a CICS program is three step process with an additional translation step being included before the Compile and Linkedit steps. CICS Program Compilation The CICS translator reads the COBOL […]
How to submit a JCL from CICS
There are couple of ways in which you can submit a JOB from your CICS application program , the simplest way to do this is by using CICS Spool Interface commands to write your JCL directly to JES Spool , we will explore this in detail here, and also by using an extra partition TDQ […]
Generating XML using COBOL
You can produce XML output from a COBOL program by using the XML GENERATE statement , the XML GENERATE statement takes as input the source data item for which the XML needs be generated and stores the corresponding XML in a target or receive data item mentioned in your XML GENERATE statement. Both the source and […]