View previous topic :: View next topic
|
Author |
Message |
nagarajan_guru
New User
Joined: 21 Mar 2007 Posts: 6 Location: chennai
|
|
|
|
By making use of IEBCOPY utility, we can copy a PDS file to another PDS file. Could you please suggest any utility which copies a PS file to another PS file?
Naga G. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Could you please suggest any utility which copies a PS file to another PS file...? |
IEBGENER, IDCAMS, SORT, ... |
|
Back to top |
|
|
VinayCM
New User
Joined: 06 Nov 2007 Posts: 36 Location: Bengaluru
|
|
|
|
Better go for IEBGENER...... |
|
Back to top |
|
|
dilipbiradar
New User
Joined: 12 Jan 2007 Posts: 18 Location: Pune (India)
|
|
|
|
Hi,
Please use FILEAID tool if available........It will be just 1 sec of work ................!
Best of luck !!
Thanks,
Dilip |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
dilipbiradar -
Are you sure FileAid will be faster then SORT?
O. |
|
Back to top |
|
|
jmreddymca Warnings : 1 New User
Joined: 14 Oct 2007 Posts: 29 Location: Bangalore
|
|
|
|
yes better you use FILE-AID
JUST 5 SEC WORK.
IN FRONT OF PS YOU JUST USE F33
IT WILL ASK DESTINATION DS NAME
GIVE & PRESS ENTER, ITS OVER |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Reddy,
Are you sure you can copy millions of records (say 5M or 6M) in 5 seconds?
Also learn to post in CAPS OFF mode. |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
regardless of number of records file holds?
I agree that File-Aid is easy to use, however can't say it is faster than
SORT/IEBGENER.. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Reddy,
If you copy a large file in ONLINE mode...... FA locks your screen and you can 'enjoy the time'. |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
Code: |
FA locks your screen and you can 'enjoy the time'.
|
good idea.... |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
below are some statistics on the use of various utilities to copy a file.
The file contained 3150856 records with an LRECL of 80.
Gerry
Code: |
--TIMINGS (MINS.)-- ----PAGING
STEPNAME PROCSTEP RC EXCP CONN TCB SRB CLOCK SERV PG PAGE SWA
SORT 00 2800 65627 .03 .00 .8 21626 0 0
FILEAID 00 328K 75322 .09 .01 1.4 214K 0 0
IEBGENER 00 328K 137K .17 .07 3.5 285K 0 0
IDCAMS 00 328K 84703 .07 .02 1.8 211K 0 0 |
|
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Gerry,
Thanks for sharing the info.
Just one doubt, 'were all the steps/jobs ran under similar conditions'? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Murali,
yes all jobs were run under the same conditions.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
FWIW, i believe the "5 secs" was the human time needed to setup/execute rather than the machine time required for the copy
Also, FWIW, everywhere i've been that tested "copy speed" determined that using the sort product to copy files is the fastest and least resources used way to go. Many systems look at IEBGENER executions and if the process is simply a copy, the sort is invoked instead of IEBGENER. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Just to add - that's why many shops use DFSORT's ICEGENER instead of IEBGENER.
O. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Many systems look at IEBGENER executions and if the process is simply a copy, the sort is invoked instead of IEBGENER. |
DFSORT's ICEGENER can be installed to automatically use DFSORT copy if appropriate (or IEBGENER if DFSORT copy can't be used) when IEBGENER is invoked. |
|
Back to top |
|
|
MALLIKARJUN.KUMMITHA Warnings : 1 New User
Joined: 25 Oct 2007 Posts: 7 Location: india
|
|
|
|
u can use utility iebgener and short card
//sysin dd *
sort field = copy
thanks |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Malli,
Quote: |
//sysin dd *
sort field = copy |
You have posted an incomplete sort card and with a wrong syntax. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
u can use utility iebgener and short card
//sysin dd *
sort field = copy
|
please.... when posting give the CORRECT info...
IEBGENR NEVER TOOK A "SORT" CONTROL STATEMENT
Your view of things is a little bit confused/confusing...
when installing sort( DFSORT )
SORT is aliased to ICEMAN
ICETOOL is just itself
ICEGENER is just itself
SORTGENR is an alias of ICEGENER
it is a user choice ( please Frank correct me if I am wrong )
to alias IEBGENER to ICEGENER or ....
if IEBGENER is not aliased to a sort component Your suggestion will not work
it is possible that syncsort has the same approach |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
it is a user choice ( please Frank correct me if I am wrong )
to alias IEBGENER to ICEGENER or .... |
That's right. The system programmer at each site decides whether or not to install ICEGENER as an automatic replacement for IEBGENER. PGM=ICEGENER will always invoke ICEGENER. PGM=IEBGENER will invoke ICEGENER if it has been installed as a replacement for IEBGENER; otherwise it will invoke IEBGENER.
I have no idea what point MALLIKARJUN.KUMMITHA was trying to make so I can't comment on it.
Note that the use of SYSIN control statements will cause ICEGENER to invoke IEBGENER.
If you want to use DFSORT control statements with ICEGENER, you can do that with //DFSPARM, e.g.
Code: |
//S1 EXEC PGM=ICEGENER
...
//SYSIN DD DUMMY
//DFSPARM DD *
INCLUDE COND=(5,2,CH,EQ,C'AB')
|
Of course this also works with PGM=IEBGENER when ICEGENER has been installed as an automatic replacement for IEBGENER. |
|
Back to top |
|
|
MALLIKARJUN.KUMMITHA Warnings : 1 New User
Joined: 25 Oct 2007 Posts: 7 Location: india
|
|
|
|
Copy using sort utility:
1) // job.---------
//step 1 exec pgm=sort
//sortin dd dsn=a.b.file1, disp=shir
//sortout dd dsn=a.b.file2, disp=shir
//sortwk1 dd unit=disk
//sortwk2 dd unit=disk
//sysout dd sysout=*
//sysprint dd sysout=*
//Sysin dd*
sort fields=copy
/*
or
2 way
//job cards----
/step 1 exec pgm=iebgener
//sortin dd dsn=a.b.file1, disp=shir
//sortout dd dsn=a.b.file2, disp=shir
//sortwk1 dd unit=disk
//sortwk2 dd unit=disk
//sysout dd sysout=*
//sysprint dd sysout=*
//Sysin dd*
/* |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
MALLIKARJUN,
Your JCL is a mess (lots of unnecessary or incorrect dd statements and syntax errors). It should be:
Code: |
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=a.b.file1,DISP=SHR
//SORTOUT DD DSN=a.b.file2,DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
/*
|
and
Code: |
//STEP2 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=a.b.file1,DISP=SHR
//SYSUT2 DD DSN=a.b.file2,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
|
|
|
Back to top |
|
|
|