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

The newest registered member is Figo1988

Our users have posted a total of 310649 articles within 54678 topics
 
[ View Members ]
Forum: Recent Posts
» All Other Mainframe Topics
Sysplex System won't IPL at DR site IXC412I & IXC413I
by Kyle Stewart

» CLIST & REXX
Running REXX through JOB
by Patrick Bacelar

» CICS
Using API Gateway from CICS program
by Hawk Sjunnestrand

» SYNCSORT
Populate last day of the Month in MMDDYY format
by VINAY PALLELA

» JCL & VSAM
PARSE Syntax for not fix length word in string.
by Joerg.Findeisen

» DFSORT/ICETOOL
Extracting Variable decimal numbers from input file
by Joerg.Findeisen

» JCL & VSAM
Get particular entries with a string to output
by Piyush Jadhav

» CLIST & REXX
Error to read log with rexx
by Pedro

» JCL & VSAM
SH256/MD5 Checksum in Mainframes JCL
by pinakimishra

» CLIST & REXX
isfline didnt work in rexx at z/OS version 2.1
by Joerg.Findeisen

» DFSORT/ICETOOL
INCLUDE OMIT COND for Multiple values at same position.
by sergeyken

» DFSORT/ICETOOL
FINDREP - Only first record from given dataset
by Piyush Jadhav

» DB2
DELETE SPUFI
by germanyrajesh

» DB2
Load new table with Old unload - DB2
by germanyrajesh

» All Other Mainframe Topics
How I Found a Bug in a FORTRAN Compiler
by Pedro

» DFSORT/ICETOOL
Write line by line from two files
by justjpr

» All Other Mainframe Topics
SFTP Issue - destination file record ending with Junk # char
by shalva.krish

» DB2
To get the count of rows for every 1 hour of timestamp range
by Chidane

» DB2
Error when install DB2
by Pedro

» Mainframe Jobs
Mainframe openings in Techmahnidra for Mumbai location
by rajendra05

[ Site Map ]
Back to Top