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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: Can the utility FILEAID be used in an independent JCL-job?
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: 1187
Location: Bangalore,India

PostPosted: Fri Mar 16, 2007 9:59 am    Post subject:
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    Post subject: Re: Can the utility FILEAID be used in an independent JCL-jo
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: 1439
Location: Bangalore,India

PostPosted: Fri Mar 16, 2007 10:33 am    Post subject:
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    Post subject:
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. http://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. http://www.mainframesupport.dk/tips/tip0340.html

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

4. http://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    Post subject: Re: Can the utility FILEAID be used in an independent JCL-jo
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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