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 116024 registered members and 360937996 visits(sessions) since May 2003

The newest registered member is santosh316

Our users have posted a total of 309116 articles within 54403 topics
 
[ View Members ]
Forum: Recent Posts
» DB2
Identify Program Insert
by Rohit Umarjikar

» CLIST & REXX
Issues with VIEW DATASET Command
by Pedro

» JCL & VSAM
JCL Dynamic System Symbols
by sergeyken

» JCL & VSAM
Current Date/Time thru JCL without writing any pgm
by Joerg.Findeisen

» CLIST & REXX
ISPP330 BDISPMAX exceeded
by Digvijay Singh

» Mainframe Jobs
Mainframe Programmer with CICS Skillset needed
by scdinesh

» DB2
Data Backup suggestions
by germanyrajesh

» JCL & VSAM
Monitoring production job progress. No displays in code
by Paras Dubey

» CLIST & REXX
SLEEP function in REXX
by Pedro

» CLIST & REXX
Limiting delay with GETMSG
by Clayton Westphal

» CLIST & REXX
Call program, directly from panel
by Willy Jensen

» All Other Mainframe Topics
How to Reformat a file using File Manager in mainframe.
by sergeyken

» DB2
DB2 Statistics - Using EXPLAIN and querying the results
by guptae

» DB2
Db2 SQL - how to switch among different where conditions
by sergeyken

» CICS
CVDA value for RRDS VSAM dataset.
by amitsjcntl

» ABENDS & Debugging
Insufficient Storage
by Robert Sample

» CLIST & REXX
Rexx formatting
by JPVRoff

» IBM Tools
DB2 Table - Image copy unload
by Pete Wilson

» DB2
Timestamp difference and its average by date
by sergeyken

» Suggestions & Feedback
Post which i had made in 2020 needs to be deleted
by sushanth bobby

[ Site Map ]
Back to Top