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

The newest registered member is Daniel Moore

Our users have posted a total of 311168 articles within 54776 topics
 
[ View Members ]
Forum: Recent Posts
» TSO/ISPF
System add a USER parm when job submits via FTP
by NathanReese

» CICS
Passing containers on START command
by danik56

» DFSORT/ICETOOL
Add condition to a FINDREP SORT card
by sergeyken

» CICS
Spoolopen cics
by Ebirezaey

» Mainframe Jobs
MF professionals open positions
by scdinesh

» DFSORT/ICETOOL
ICETOOL to SUM String
by Joerg.Findeisen

» All Other Mainframe Topics
BPXBATCH SFTP to remote path having spaces in folder name
by Faizanazam

» TSO/ISPF
Reroute print output via REXX/SDSF
by kokido

» DFSORT/ICETOOL
Mark Previous & next lines when a string is found
by sergeyken

» DFSORT/ICETOOL
Sorting Date Field
by cravisankar

» PL/I & Assembler
SDUMPX macro fails to dump requested areas under z/OS 3.1
by Rohit Umarjikar

» CLIST & REXX
Getting space used/allocated for many datasets?
by Pete Wilson

» CLIST & REXX
External data queue (changes?)
by JPVRoff

» ABENDS & Debugging
JES datasets IO Error
by sergeyken

» IMS DB/DC
Error to invoke MPP program through BMP process
by Ravi Ranjan

» DFSORT/ICETOOL
Sort based on the record type
by sergeyken

» CICS
CONVERT a given date from UTC TO BST
by deepa12

» PL/I & Assembler
fast data scrambling
by jzhardy

» DB2
Pull data using date difference between 2 date fields
by Pedro

» TSO/ISPF
Preserve changes to ISPF Panel Variables
by Pedro

[ Site Map ]
Back to Top