JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...


Postby innamuris » Tue Mar 30, 2010 11:06 pm


Can anyone please help me understand the use of the utility IEBPTPCH. upon a little research I learnt that this utility is used to Print and Punch. I am not aware what does 'Punch' mean.

Posts: 1
Joined: Tue Mar 30, 2010 10:48 pm
Has thanked: 0 time
Been thanked: 0 time


Postby MrSpock » Tue Mar 30, 2010 11:14 pm

First, what the manual says:

Each printed line consists of groups of eight characters separated by two blanks. Up to 96 data characters can be included on a printed line. Each punched card contains up to 80 contiguous bytes of information.

I like to think of PRINTED output as, well, the same as output you'd send to a printer, with formatting, spacing, carriage control, page breaks, etc. I like to think of PUNCHED output as just the raw data, free from any special formatting or other attributes.
User avatar
Global moderator
Posts: 808
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Postby Robert Sample » Tue Mar 30, 2010 11:15 pm

Back in the days before 3270 terminals (which in turn was years before the PC came along), the primary way to get data into a mainframe was punched card. Punched cards had holes in them to represent data and each card had 12 rows (0 to 9, A, and B) and 80 columns where holes could be punched. IEBPTPCH was used to punch data (and programs) into punched cards for later use, along with printing data to a printer.
Robert Sample
Global moderator
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Return to JCL