Page 1 of 1

PDS to PS copy issue

PostPosted: Fri Sep 03, 2010 7:30 pm
by Srini Srini
Hello,

I am trying to copy a PDS to a PS file using the below jcl, but I am getting the word "V" in the first coloumn of each line in the output PS file. Any suggestions as how to get rid of this please?

//IEBPTPCH EXEC PGM=IEBPTPCH                                         
//SYSUT1    DD DSN=HLQ.PDS.FILE,DISP=SHR                           
//SYSUT2    DD DSN=HLQ.PS.FILE,DISP=(,CATLG,DELETE),UNIT=SYSDA,
//             SPACE=(CYL,(15,15),RLSE)                             
//SYSPRINT DD SYSOUT=*                                               
//SYSIN      DD *                                                   
  PUNCH TYPORG=PO                                                   
/*   


Thank you.

Re: PDS to PS copy issue

PostPosted: Fri Sep 03, 2010 9:06 pm
by MrSpock
Srini Srini wrote:Any suggestions as how to get rid of this please?


The best way I know of is to pass that dataset through a SORT step and remove that printer control information.

Re: PDS to PS copy issue

PostPosted: Fri Sep 03, 2010 9:08 pm
by Robert Sample
I just copied your JCL and ran it on my mainframe. The output data set looks normal:
MEMBER NAME  UCMALLOC
//UCMALLOC JOB (T,TSS,RS0),'RSAMPLE',CLASS=C,MSGCLASS=H,MSGLEVEL=(1,1)
//*********************************************************************
There may be something going on specific to your site -- contact your site support group.

Re: PDS to PS copy issue

PostPosted: Fri Sep 03, 2010 9:14 pm
by MrSpock
Robert, I also get the LRECL=81, RECFM=FBA output with the carriage-control byte:

VMEMBER NAME  $$$COIBM
V//*
...

Re: PDS to PS copy issue

PostPosted: Sat Sep 04, 2010 1:30 am
by steve-myers
Since the data set is supposed to be going to a punched card machine, the control character is a stacker select character. By far the most common card reader / card punch machine for System/360 machines was the 2540, which was derived from the similar 1402 card reader / card punch. The 2540 had 5 stacker areas where cards read or cards punched could be deposited; the card punch could drop its cards into the two stackers on the left as the operator looked at the machine. The reader generally used the two stackers on the right.

Not that anyone cares any more, since punched card readers and card punches are dead as a dodo. The last 2540 I saw in the wild was retired in 1995 or 1996.