PDS to PS copy issue



Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

PDS to PS copy issue

Postby Srini Srini » Fri Sep 03, 2010 7:30 pm

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.
Srini Srini
 
Posts: 28
Joined: Sun May 30, 2010 10:50 am
Has thanked: 0 time
Been thanked: 0 time

Re: PDS to PS copy issue

Postby MrSpock » Fri Sep 03, 2010 9:06 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: PDS to PS copy issue

Postby Robert Sample » Fri Sep 03, 2010 9:08 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: PDS to PS copy issue

Postby MrSpock » Fri Sep 03, 2010 9:14 pm

Robert, I also get the LRECL=81, RECFM=FBA output with the carriage-control byte:

VMEMBER NAME  $$$COIBM
V//*
...
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: PDS to PS copy issue

Postby steve-myers » Sat Sep 04, 2010 1:30 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times


Return to All other Mainframe Topics

 


  • Related topics
    Replies
    Views
    Last post