View previous topic :: View next topic
|
Author |
Message |
ssprabhu
New User
Joined: 25 Apr 2005 Posts: 67 Location: pune
|
|
|
|
Hi,
we are using FILEAID utility to to merge the GDG version then copying in to sequential file.
Cud u all please let me know for the same requirement i want to use some other utility ( instead of FILEAID )which gives the same result.
Many thanks... |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Please define "to merge the GDG version then copying in to sequential file" a little more fully..... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i want to use some other utility ( instead of FILEAID ) |
What business reason might there be for this? If FileAid is installed and working, why use something else?
Also, as CG mentions, what you want to do needs clarification. Keep in mind that what you want to do is completely clear to you, but possibly not to everyone else. |
|
Back to top |
|
|
ssprabhu
New User
Joined: 25 Apr 2005 Posts: 67 Location: pune
|
|
|
|
Hi,
Fileaid utility is used to copy the files with some ctrl stmts..but i have no idea about the ctrl stmt mentioned in the sysin field but i want to copy these files with another utility ( i shud n't use file aid utility) as same what the below jcl does. please advise ??
//STEP010 EXEC PGM=FILEAID,COND=(0,NE)
//DD01 DD DSN=xxx.TEST1,DISP=SHR
//DD01O DD DSN=xxx.TEST1.OP,
// DISP=(NEW,CATLG,DELETE),UNIT=(SYSDA,3),
// DCB=(RECFM=VB,LRECL=16004,BLKSIZE=27998),
// SPACE=(CYL,(500,50),RLSE)
//SYSIN DD *
// $$DD01 USER RDW=3,MOVE=(1,0,1),WRITE=DD01O
//SYSOUT DD SYSOUT=J
//SYSABEND DD SYSOUT=J
//SYSABOUT DD SYSOUT=J
//SYSPRINT DD SYSOUT=J
//* |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
Code: |
// $$DD01 USER RDW=3,MOVE=(1,0,1),WRITE=DD01O
|
I doubt the above statement would work. // in a control statement?
Why not look up the manual to see what the statements do.
All the statement is doing is a straight copy.
You can simplify it as such
RDW=3 : Does not include the RDW during record processing and does not display it on output.
NOTE: When the RDW is not displayed on output (RDW=1 or 3), and no output records are created, the MOVE parameter output location should reference location 5 first.
eg.
Code: |
$$DD01 LIST RDW=3,IF=(1,EQ,A) |
lists all records of this variable-length dataset that contain the character A in the first byte of the data (not including the 4-byte system RDW).
Now if you still want to change from FILEAID to another utility, you can use SORT, IDCAMS,IEBGENER to mention a few.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i shud n't use file aid utility |
Yes, you've said that. . .
But, Why not
It may help someone else later to understand why a working process needs to change utilities. |
|
Back to top |
|
|
|