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

The newest registered member is Jeffery J Bates

Our users have posted a total of 311395 articles within 54829 topics
 
[ View Members ]
Forum: Recent Posts
» All Other Mainframe Topics
Convert Service Unit to CPU Seconds
by Fran Wong

» DFSORT/ICETOOL
Help required to reset decimal points to 0 in a PD field
by Joerg.Findeisen

» TSO/ISPF
ZFNOTE documentation
by hankoerlemans

» IMS DB/DC
ABEND 0717 during starting IMS
by Hooman24

» CICS
MacKinney Batch to CICS upgrade causing issues
by Pedro

» All Other Mainframe Topics
IEW2315E 1369 Link error
by MichelleSpeer

» TSO/ISPF
Customizing the ISPF HILITE Command
by Lynne

» TSO/ISPF
Preserve changes to ISPF Panel Variables
by V S Amarendra Reddy

» CLIST & REXX
Run rexx with JCL Job
by Joerg.Findeisen

» CLIST & REXX
Run rexx in batch job
by mox512

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

» CLIST & REXX
Does anyone know rexx for VSE
by JPVRoff

» PL/I & Assembler
NI AND IMMEDIATE instruction
by sergeyken

» JCL & VSAM
Excuting store procedure via JCL batch
by sergeyken

» DB2
Executing DB2 SQL store procedure via JCL
by msa4004

» SYNCSORT
Copy only TEXT or String from a record
by Joerg.Findeisen

» JCL & VSAM
TSO ALLOC In REXX Needs Improvement
by Joerg.Findeisen

» DFSORT/ICETOOL
3 files concatenated to 1
by jimsnow

» TSO/ISPF
ISRDSLST(3.4) Do not include additional qualifiers
by V S Amarendra Reddy

» SYNCSORT
Syncsort help
by sergeyken

[ Site Map ]
Back to Top