Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to copy a PS file to another PS file?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
nagarajan_guru

New User


Joined: 21 Mar 2007
Posts: 6
Location: chennai

PostPosted: Wed Nov 14, 2007 5:17 pm    Post subject: How to copy a PS file to another PS file?
Reply with quote

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
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Nov 14, 2007 5:21 pm    Post subject: Reply to: How to copy a PS file to another PS file?
Reply with quote

Quote:
Could you please suggest any utility which copies a PS file to another PS file...?


IEBGENER, IDCAMS, SORT, ...
Back to top
View user's profile Send private message
VinayCM

New User


Joined: 06 Nov 2007
Posts: 36
Location: Bengaluru

PostPosted: Thu Nov 15, 2007 12:31 pm    Post subject:
Reply with quote

Better go for IEBGENER......
Back to top
View user's profile Send private message
dilipbiradar

New User


Joined: 12 Jan 2007
Posts: 19
Location: Pune (India)

PostPosted: Thu Nov 15, 2007 1:53 pm    Post subject:
Reply with quote

Hi,

Please use FILEAID tool if available........It will be just 1 sec of work ................!

Best of luck !!

Thanks,
Dilip
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Nov 15, 2007 4:02 pm    Post subject:
Reply with quote

dilipbiradar -

Are you sure FileAid will be faster then SORT?

O.
Back to top
View user's profile Send private message
jmreddymca
Warnings : 1

New User


Joined: 14 Oct 2007
Posts: 29
Location: Bangalore

PostPosted: Thu Nov 15, 2007 5:40 pm    Post subject: Reply to: How to copy a PS file to another PS file?
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Nov 15, 2007 5:47 pm    Post subject:
Reply with quote

Reddy,

Quote:
JUST 5 SEC WORK.

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
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Thu Nov 15, 2007 5:48 pm    Post subject:
Reply with quote

Quote:
JUST 5 SEC WORK.

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Nov 15, 2007 5:53 pm    Post subject:
Reply with quote

Reddy,

If you copy a large file in ONLINE mode...... FA locks your screen and you can 'enjoy the time'.
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Thu Nov 15, 2007 6:15 pm    Post subject:
Reply with quote

Code:
FA locks your screen and you can 'enjoy the time'.
good idea.... icon_idea.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri Nov 16, 2007 11:02 am    Post subject:
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 16, 2007 2:14 pm    Post subject:
Reply with quote

Gerry,

Thanks for sharing the info.

Just one doubt, 'were all the steps/jobs ran under similar conditions'?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Nov 20, 2007 9:55 am    Post subject:
Reply with quote

Murali,
yes all jobs were run under the same conditions.

Gerry
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Nov 20, 2007 11:01 pm    Post subject:
Reply with quote

Hello,

FWIW, i believe the "5 secs" was the human time needed to setup/execute rather than the machine time required for the copy icon_smile.gif

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Nov 21, 2007 12:31 am    Post subject:
Reply with quote

Just to add - that's why many shops use DFSORT's ICEGENER instead of IEBGENER.

O.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Nov 21, 2007 2:38 am    Post subject:
Reply with quote

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
View user's profile Send private message
MALLIKARJUN.KUMMITHA
Warnings : 1

New User


Joined: 25 Oct 2007
Posts: 7
Location: india

PostPosted: Wed Nov 21, 2007 2:43 pm    Post subject: Reply to: How to copy a PS file to another PS file?
Reply with quote

u can use utility iebgener and short card
//sysin dd *
sort field = copy

thanks
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Nov 21, 2007 3:05 pm    Post subject: Reply to: How to copy a PS file to another PS file?
Reply with quote

Malli,

Quote:
//sysin dd *
sort field = copy


You have posted an incomplete sort card and with a wrong syntax.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Nov 21, 2007 3:07 pm    Post subject: Reply to: How to copy a PS file to another PS file?
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Nov 21, 2007 11:54 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 1 Fri Dec 02, 2016 9:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us