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 116954 registered members and 434031450 sessions since May 2003

The newest registered member is Eluru Swaaroopa

Our users have posted a total of 312194 articles within 54958 topics
 
[ View Members ]
Forum: Recent Posts
» SYNCSORT
Joining files with intermittent headers and trailers
by Joerg.Findeisen

» SYNCSORT
Format data from multiple records using PUSH
by cuauhtli

» TSO/ISPF
Free space of a mulitvolume PS dataset in batch
by expat

» All Other Mainframe Topics
Can I skip certificate validation when using GSK APIs?
by chong.zhou

» DFSORT/ICETOOL
Sections not working as expected
by sergeyken

» PL/I & Assembler
How to display Register values using WTO
by Phrzby Phil

» JCL & VSAM
Jobs to HELD state
by vasanthz

» CLIST & REXX
Trouble using REXX SDSF interface to read job's SYSOUT=*
by danny companez

» DB2
count contained values of several columns (in one table)
by Rohit Umarjikar

» JCL & VSAM
Mass Delete of PDS memebers?
by Rohit Umarjikar

» SYNCSORT
WER247A SORTOUT HAS INCOMPATIBLE LRECL
by sergeyken

» CICS
CICS - Resource limiting using omegamon classic interface
by VB

» Suggestions & Feedback
Cloudflare: You are being rate limited
by mcmillan

» DFSORT/ICETOOL
Alternative of JoinKeys in SORT
by sergeyken

» SYNCSORT
INPFIL FILES, FNAMES examples
by sergeyken

» DFSORT/ICETOOL
FINDREP before JOIN
by Joerg.Findeisen

» Compuware & Other Tools
FileAid move data from two files to one output file
by sergeyken

» DB2
DB2 Query to get the count of Unique selection
by Chidane

» CLIST & REXX
REXX to get all Dataset names from a list of volumes
by Willy Jensen

» DFSORT/ICETOOL
Sorting date into YYYYMMDD, and creating file with date name
by sergeyken

[ Site Map ]
Back to Top