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
 

 

Alternative for FILEAID utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Alternative for FILEAID utility
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: 2150
Location: At my coffee table

PostPosted: Mon Mar 02, 2009 11:27 pm    Post subject:
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

Site Director


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

PostPosted: Tue Mar 03, 2009 12:29 am    Post subject:
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    Post subject: FileAID utility alternative
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: 1703
Location: Australia

PostPosted: Tue Mar 03, 2009 4:04 am    Post subject:
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

Site Director


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

PostPosted: Tue Mar 03, 2009 5:30 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm


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