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

Can the utility FILEAID be used in an independent JCL-job?


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Avinash Kumar
Warnings : 1

New User


Joined: 20 Feb 2007
Posts: 9
Location: Noida

PostPosted: Fri Mar 16, 2007 9:55 am
Reply with quote

Hi Friends.
Can the utility FILEAID used in fileaid tool environment be used separately means out of the fileaid environment as an independent JCL-job for copying datasets?

Thanks.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Mar 16, 2007 9:59 am
Reply with quote

Hi there,

Yes we can run fileaid in batch to copy datasets
Back to top
View user's profile Send private message
Avinash Kumar
Warnings : 1

New User


Joined: 20 Feb 2007
Posts: 9
Location: Noida

PostPosted: Fri Mar 16, 2007 10:04 am
Reply with quote

Thanks Ekta. But it would be great if u post an example of it.
Back to top
View user's profile Send private message
murmohk1

Senior Member


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

PostPosted: Fri Mar 16, 2007 10:33 am
Reply with quote

Fileaid gives you JCL automatically. Why dont you try this -

Goto fileaid->utilities->copy. Provide old and new dataset names. Give the execution information as B (for batch). Provide necessary info in the following screen and give JCL to edit the generated JCL.
Back to top
View user's profile Send private message
nirenchan

New User


Joined: 21 Jul 2005
Posts: 23
Location: USA

PostPosted: Sat Mar 17, 2007 10:46 am
Reply with quote

You can use FileAid utility in jcl even from copying a file to format the records....

You can visit the below links for more details about FileAid.

1. 209.85.165.104/search?q=cache:Q1h2dPPkYikJ:www.fresherscircle.com/files/100_Cool_Mainframe_Tips.pdf+EXEC+PGM%3DFILEAID&hl=en&ct=clnk&cd=3&gl=us

2. www.mainframesupport.dk/tips/tip0340.html

3. www.tek-tips.com/viewthread.cfm?qid=406493

4. www.caliberdt.com/tips/Nov2002.htm
Back to top
View user's profile Send private message
pcoreddy

New User


Joined: 14 Mar 2007
Posts: 24
Location: Mysore

PostPosted: Wed Mar 21, 2007 6:57 pm
Reply with quote

? Copy dataset - one to one

//STEPCOPY EXEC PGM=FILEAID
//DD01 DD DSN=G1SG00AT.INPUT1,DISP=SHR
//DD01O DD DSN=G1SG00AT.OUTPUT1,DISP=OLD
//DD02 DD DSN=G1SG00AT.INPUT2,DISP=SHR
//DD02O DD DSN=G1SG00AT.OUTPUT2,DISP=OLD
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//SYSIN DD DUMMY or code COPY as instream

Here by default SYSIN parameter is 'COPY'. Copy is done from DD01 to DD01O although DD02 and DD02O are coded.


i think this is sufficient for that
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 -> Compuware & Other Tools

 


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