IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Alternative for FILEAID utility


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ssprabhu

New User


Joined: 25 Apr 2005
Posts: 67
Location: pune

PostPosted: Mon Mar 02, 2009 11:20 pm
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Mar 02, 2009 11:27 pm
Reply with quote

Please define "to merge the GDG version then copying in to sequential file" a little more fully.....
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Mar 03, 2009 12:29 am
Reply with quote

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

New User


Joined: 25 Apr 2005
Posts: 67
Location: pune

PostPosted: Tue Mar 03, 2009 3:17 am
Reply with quote

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

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Mar 03, 2009 4:04 am
Reply with quote

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
Code:
$$DD01 COPY OUT=0


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

Moderator Emeritus


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

PostPosted: Tue Mar 03, 2009 5:30 am
Reply with quote

Hello,

Quote:
i shud n't use file aid utility
Yes, you've said that. . .

But, Why not icon_confused.gif

It may help someone else later to understand why a working process needs to change utilities.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
Search our Forums:

Back to Top