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

The newest registered member is david dauphin

Our users have posted a total of 305228 articles within 53760 topics
 
[ View Members ]
Forum: Recent Posts
» CLIST & REXX
REXX - Adding variables
by Pedro

» PL/I & Assembler
total number of bytes
by sergeyken

» JCL & VSAM
IEF642I EXCESSIVE PARAMETER LENGTH IN THE PGM FIELD
by steve-myers

» PL/I & Assembler
using based or defined variables
by grasshopper

» PL/I & Assembler
array indexing
by grasshopper

» JCL & VSAM
Getting error S000 U0016 (Cn Internal) on Sort out rec
by sergeyken

» TSO/ISPF
To pull the file with Date and Time using FTP
by Joerg.Findeisen

» SYNCSORT
MORE REGS THAT EXPECTED USING JOINKEYS
by Joerg.Findeisen

» DB2
Rebind issue - Package
by inforajesh

» HomeWorks & Requests
Array indexing error
by Joerg.Findeisen

» All Other Mainframe Topics
Is it possible to allocate DA dataset with DSNTYPE=LARGE?
by Joerg.Findeisen

» CLIST & REXX
How to copy output of jjscan to permanent sequential dataset
by rguhanath

» All Other Mainframe Topics
EDCICONV - Newline are missing
by sergeyken

» All Other Mainframe Topics
Hercules - IMWEBSRV
by enrico-sorichetti

» DB2
DB2: Need helping below DB2 query
by Rohit Umarjikar

» DFSORT/ICETOOL
Date conversation
by oerdgie

» Mainframe Jobs
Urgent requirement for MF (Exp - 4 to 10 Yrs)
by subratarec

» JCL & VSAM
RPLDDDD field for extended VSAM - ESDS
by amitsjcntl

» DB2
SYSSPUXB and SYSSPUXA tablespaces
by Rohit Umarjikar

» FAQ & Basics
converting BI to ZD
by sergeyken

[ Site Map ]
Back to Top