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

The newest registered member is arshad pasha

Our users have posted a total of 305622 articles within 53835 topics
 
[ View Members ]
Forum: Recent Posts
» JCL & VSAM
define 1 DCB parms for multiple output datasets
by Pete Wilson

» HomeWorks & Requests
SORT to count header and trailer
by sergeyken

» PL/I & Assembler
SXP Tool for PL1 or Module library managemtn
by grasshopper

» Java & MQSeries
Sort to include records of file 2 into file 1
by Rohit Umarjikar

» IMS DB/DC
IMS scratch pad area
by Vishnusankar.g

» TSO/ISPF
How can I know what tso commands are available?
by daveporcelan

» DFSORT/ICETOOL
Multiple find/replace on the same dataset
by Rohit Umarjikar

» All Other Mainframe Topics
Promote Error in changeman
by Rohit Umarjikar

» CLIST & REXX
How to modify file content using REXX
by Willy Jensen

» SYNCSORT
Build a trailer with total an count
by Rohit Umarjikar

» DFSORT/ICETOOL
Adding a header when change data
by Joerg.Findeisen

» SYNCSORT
Converting unpacked fields to pack using SORT.
by chillmo

» CA Products
CNTL= Command Syntax Documentation
by drowelf

» IMS DB/DC
AUTHORIZED database error in HALDB
by rohanthengal

» DB2
Map VSAM Dataset to a Table/Tablespace
by Pedro

» JCL & VSAM
Problem while sending special character '{' in body of email
by Robert Sample

» FAQ & Basics
Compare records within a file in JCL
by Joerg.Findeisen

» HomeWorks & Requests
how to hold all Map variables after Enter key is pressed ?
by Rohit Umarjikar

» SYNCSORT
Dynamic Sortin DD cards
by Rohit Umarjikar

» DFSORT/ICETOOL
SORT for dynamic trailer record + CSV file Date handling
by prashantshinde

[ Site Map ]
Back to Top