IBM Mainframe Computer
 
Log In
 
IBM Mainframe Home Mainframe Downloads IBM Manuals Mainframe Forum
 
Where to Go?

Mainframe Forum

Mainframe Wiki

Quick References

Free Downloads

Sample JCLs

Job Openings

Interview Questions

[ Site Map ]
Member: Login
Username:

Password:

 Remember me
[Forget Password?]
NewUser: Register
User name:

E-Mail:

Password:

Password (again):


[ New User SignUp ]
IBM Mainframes - Sample Application programs

Sample Mainframe Programs

This page contains Sample Programs, algorithms & data Structures, predefined functions, File and database manipulation, Online data access etc...
 
Here you can find sample COBOL and CICS Programs like Y2K Problem solving, 4 digit year conversion, world time calculator, date to day, Prime number generation, pseudo conversation, SORT & Merge, Stack & Queue, Pseudo number generation etc...
 


Programming Language: COBOL
 

SOLVING Y2K PROBLEM WITHOUT USING INTRINSIC FUNCTIONS
COBOL ERROR DESCRIPTOR COPY LIBRARY
COBOL 4 DIGIT SYSTEM YEAR FINDER (YY to YYYY)

DAY FINDER (Return SUN/MON upto 9999/12/31 )

WORLD TIME CALCULATOR (world time for INDIAN time)

CONVERT GREGORIAN DATE TO JULIAN DATE

SORTING A TABLE - A GENERIC ALGORITHM

SEARCHING A MULTI DIM TABLE FOR ALL ELEMENTS

FINDING THE RUN TIME SIZE OF A VARIABLE LENGTH TABLE

CIRCULAR QUEUE IN COBOL

STACK DATA STRUCTURE IN COBOL

QUINE PROGRAM IN COBOL

ALL PRIME FACTORS FINDER ROUTINE

ALL PSEUDO RANDOM NUMBERS GENERATOR ROUTINE

PS/QSAM/SEQUENTIAL FILE MANIPULATION

VSAM-ESDS/SEQUENTIAL FILE MANIPULATION

VSAM-RRDS/RELATIVE FILE MANIPULATION

VSAM-KSDS/INDEXED FILE MANIPULATION

Note: Links automatically open in new window. Do not Right click!
Programming Language: CICS
 

SAMPLE HELLO WORLD PROGRAM IN CICS

VSAM/ESDS FILE MANIPULATION IN CICS

VSAM/RRDS FILE MANIPULATION IN CICS

VSAM/KSDS FILE MANIPULATION IN CICS

TSQ FILE MANIPULATION IN CICS

TDQ FILE MANIPULATION IN CICS

DISPLAYING ALL RECORDS IN ONE SCREEN DYNAMIC MULTIPAGE
MORE PSEUDO CONVERSATION IN ONE PROGRAM
SENDING ONLY THE SELECTED FIELDS FROM A MAP

ALL IN ONE CICS PROGRAM

Note: Links automatically open in new window. Do not Right click!

Site Statistics
We have 116159 registered members and 365624745 visits(sessions) since May 2003

The newest registered member is geogeno

Our users have posted a total of 309846 articles within 54557 topics
 
[ View Members ]
Forum: Recent Posts
» Compuware & Other Tools
Changeman - how can we know the current cobol pgm versiĆ³n ?
by Rohit Umarjikar

» DFSORT/ICETOOL
Joinkeys - 5 output files
by sergeyken

» CICS
Parallelization in CICS to reduce response time
by Rohit Umarjikar

» All Other Mainframe Topics
any known easter eggs in mainframe?
by Pedro

» Java & MQSeries
Need to specify PARM='POSIX(ON)
by Joerg.Findeisen

» DFSORT/ICETOOL
how to calculate SUM value for VB file using SORT/ICETOOL JC
by Joerg.Findeisen

» JCL & VSAM
how to calculate SUM for VB file using Sort/ICETOOL jcl
by Joerg.Findeisen

» IBM Tools
disable /*XEQ substitution in TWS
by vasanthz

» DB2
DB2 Event passed to the Application Program
by daveporcelan

» JCL & VSAM
Deleting a Tape file
by Pete Wilson

» DFSORT/ICETOOL
PD not working for unsigned packed JOINKEYS -- moved post
by sergeyken

» JCL & VSAM
Def PD not working for unsigned packed JOINKEYS
by sergeyken

» HomeWorks & Requests
COBOL program logic for comparisipn of two files
by Rohit Umarjikar

» SYNCSORT
DATE2 function
by Rohit Umarjikar

» DFSORT/ICETOOL
OUTFIL with SAVE option
by jzhardy

» DB2
Dynamically pass table name to a select query in COBOL DB2
by Rohit Umarjikar

» JCL & VSAM
How to delete a user's alias from the system
by sergeyken

» PL/I & Assembler
Storing a BLOB/CLOB in PL/I
by Zilla

» Java & MQSeries
C++ problems
by Grant Goodale

» JCL & VSAM
How to append a PS file into multiple files in a single step
by Willy Jensen

[ Site Map ]
Back to Top