Posted: Fri Mar 04, 2005 8:31 am Post subject: append the members of "PO" type data set to dest.
Dear sir,
I am facing one problam.... i want to append one particular partition
data set(PO) s members to another particular data set(PO). Here i am getting the problam i used iebcopy utility and option shr and mod also i used but i am getting resulst here is the what ever members are there
in one particular data set copy to the same members into another particualr data set.
EX:
1 po cantain 3 members :
PO: RRRRR
members: a:
b:
c:
i want to create one new PO: BBBBB and apend all the above a,b and c
members into one meber.
pls suggest the solution...
Thanking you.
of the particualr data set(PO)
There is a problem, i need to take a back-up of all the memer of a perticular data set (PO) into another data set (PO). Eventually the member of source data set is deleted after execution of the job. we want to keep the data of member of
The solution which was given would require me to hardcode the member name of the PO dataset RRRRR.And there are 45 such PO dataset with multiple member(and there 31 members in each dataset).
The issue was for example :
The data set RRRRR.SEQ [dsorg(PO),RECFM(FB),LRECL(80)]
has the following members
A (90 rows)
B (100 rows)
C (100 rows)
And as per the requirement I need to copy this to another dataset BBBBB.SEQ [dsorg(PO),RECFM(FB),LRECL(80)]
It works when the first time I execute the JCL which is as follows :
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Sat Mar 05, 2005 3:42 pm Post subject:
look up the the control cards for IEBCOPY, particularly how to replace a member. You are not giving any control cards so the default is to copy all members without replace. Also, IEBCOPY doesn't have a SYSOUT ddname.
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Sun Mar 06, 2005 9:36 pm Post subject:
Quote:
The data set RRRRR.SEQ [dsorg(PO),RECFM(FB),LRECL(80)]
has the following members
A (90 rows)
B (100 rows)
C (100 rows)
And as per the requirement I need to copy this to another dataset BBBBB.SEQ [dsorg(PO),RECFM(FB),LRECL(80)]
uttank,
Try this jCl. The program IEBPTPCH flatten all the members of a pds into a sequential file. This utility puts a header for each member in the pds which looks as follows:
Code:
MEMBER NAME xxxxxxxx
This also creates the output with ANSI carriage control character. so if the input pds is a FB recfm dataset with 80 bytes as lrecl , this utility creates an FBA recfm dataset with 81 bytes as lrecl. So we remove these in the sort step and create a new member. Make sure that your Output pds exists in step0200
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum