Hi Radek,
Q3. I don't know about preventing change to ISPF Statistics, but, they
can be set via the PDS Command Processor (CBT File 182).
ATTRIB member1 ID(myuser) CREATED(05/11/22) LAST(05/12/22) TIME(1015)
SECS(30)
(You can write a program to issue the ATTRIB against all of the members
in the "old" PDS and generate the one-liners for all of the members in
the "new" PDS.)
Regards,
David
On 2022-05-12 09:50, Radoslaw Skorupka wrote:
My goal is to copy several PDS datasets, hundreds of text members.
Source is VB 255, target is FB 80 - so IEBCOPY will not work.
Manual ISPF operations is also not an option.
So I tried to use File Manager:
$$FILEM DSC INPUT=DDIN OUTPUT=DDOUT MEMBER=*
However I noticed two issues:
1. Documentations says DDIN and DDOUT are default names and can be
replaced with custom names... but this is not true. While I can use
custom name for INPUT, the output can neither custom ddname, nor
dataset name.
So I cannot use multiple DSC operations in single jobstep.
Q1. Is it APARable or I just missed something?
2. Records are copied from VB to FB and remaining space after last
character is filled with X'00', but I need X'40' - regular space
character. Q2. Is there any trick/option to specify it?
I already copied some libraries, so I had to replace X'00' with X'40'.
I used the following statements:
$$FILEM FCH,
$$FILEM MEMBER=*,
$$FILEM PACK=ASIS,
$$FILEM DSNIN=HLQ.DATASET.NAME
C X'00' X'40'
It worked OK, but it also changed ISPF statistics - now every member
is last changed today and my userid is the changing person.
Q3. Is there any parameter to prevent ISPF stats unchanged?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN