Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Which Print Method to Use
Hello all,
For some reason unbeknownst to me, I can't seem to remember how to print from MVS!? I'm sure it has something to do with age/memory. I've got some documentation that's stored in a PDS.? Upon browsing the members, each member has a control character in position 1 of each line to control page skipping and spacing. Do I use PRINTDS or IEBPTPCH or some other method?? ISPF says I can key a 'P' on the command line which sends the output to 'IBMUSER.SPFLOG1.LIST' but I have to end ISPF to get it and apparently provide JCL which always seems to fail (I know, it's me). I would rather submit a job and have the output sent directly to the printer where is can be processed by HercPRT and produce a PDF file.? What program do I use? PS. I've managed to get a .pdf file using IEBPTPCH but I still have errors.? I have a screenshot available of the JCL and the resultant output (can't upload photos). PDS=CICS.IPO1.DOCLIB(CICSCUST) |
On Thu, May 18, 2023 at 07:18 PM, Jim Snellen wrote:
Do I use PRINTDS or IEBPTPCH or some other method?Hello Jim, I would use IEBPTPCH like this: //PRINTM EXEC PGM=IEBPTPCH
//SYSPRINT DD SYSOUT=*
//SYSUT1? ?DD DSN=CICS.IPO1.DOCLIB(CICSUST),DISP=SHR
//SYSUT2? ?DD SYSOUT=*,DCB=BLKSIZE=133
//SYSIN? ? DD *
? PRINT PREFORM=A
/*
Is this what you did? Cheers, Rene FERLAND, Montreal |
IEBGENER is your friend! :) SYSUT1 = input SYSUT2 = output, make sure to use FBA so the system knows there are control chars in col 1. Joe On Thu, May 18, 2023 at 9:18?PM Jim Snellen <jsnellen55@...> wrote: Hello all, |
Hello Professor,
No, I didn't but I was close.? I had: //USERIBMP? ? JOB? ? (),CLASS=A,MSGCLASS=H //STEP1? ? ? ? ? ?EXEC? PGM=IEPTBCH //SYSPRINT? ? ?DD? ? ?SYSOUT=A //SYSUT1? ? ? ? DSNAME=CICS.IPO1.DOCLIB,DISP=SHR //SYSUT2? ? ? ? DD? ? ? SYSOUT=A //SYSIN? ? ? ? ? ?DD? ? ? ?* PRINT TYPORG=PO,MAXNAME=1,CNTRL=1 MEMBER NAME=CICSCUST /* I changed mine to yours and it worked absolutely fine.? Thank you. |
Joe, A friend of mine also recommended IEBGENER.?? He also suggested I use LRECL=133,RECFM=FA or FBA on the output.? I'm going to give it a try as well. Thanks! On Thu, May 18, 2023 at 11:50?PM Joe Monk <joemonk64@...> wrote:
--
Best Regards, Jim |
to navigate to use esc to dismiss