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

How to invoke file-aid using an Edit macro?


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

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Thu Nov 19, 2009 3:01 pm
Reply with quote

Hi,
I want to invoke File-aid utility from an edit macro. Is there any way to do that ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Nov 19, 2009 3:07 pm
Reply with quote

What have you tried so far, and what were the results
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: Thu Nov 19, 2009 9:30 pm
Reply with quote

Hello,

It will probably help if you describe what you intend to accomplish. . .

How might your edit macro interact with File-aid?
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Mon Nov 23, 2009 10:02 am
Reply with quote

here is my requirement ...... A cobol program contains many copybooks. when i want to see the layout of a copybook inside a cobol program ......the macro should display the copybook like we see in FILA - 8 (view option) ....... so the macro should invoke File-Aid and display the layout of the copybook ......
I can able to invoke the file-aid View panel using the command ...... Address Tso "%F8" ..... it displays the panel ..... but i want to see the copybook layout ...... that i couldnt achieve till now ......
Back to top
View user's profile Send private message
jkri

New User


Joined: 24 Jul 2007
Posts: 17
Location: pune

PostPosted: Mon Nov 23, 2009 12:28 pm
Reply with quote

Below JCL gives you the copybook expanded in a file. Try using this in your rexx macro.
Code:

//STEP01   EXEC PGM=FILEAID,REGION=6M"     
//STEPLIB  DD  DISP=SHR,DSN="File-aid load dsn""   
//SYSPRINT DD  SYSOUT=*"                   
//SYSLIST  DD  DSN=dataset to get list       
//DD01     DD  DSN="copybook library"     
//SYSIN    DD  *"                         
$$DD01 RLPRINT MEMBER=copybook name   
/*
                                             
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Mon Nov 23, 2009 2:57 pm
Reply with quote

Is there any way other than invoking a JCL ....... becoz i have the copybook name and path from what i parse in the cobol program ...... and as i already have the tso command to invoke file-aid ..... i think there should be way to display the copybook from there itself ......
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 23, 2009 3:02 pm
Reply with quote

Quote:
i think there should be way to display the copybook from there itself


what You think is irrelevant...
what FILEAID think is...

look at the fileaid docs to see if You can trick fileaid into navigating the panel hierarchy from a command
Back to top
View user's profile Send private message
maridawson

New User


Joined: 24 Jun 2008
Posts: 59
Location: chennai

PostPosted: Mon Nov 23, 2009 4:21 pm
Reply with quote

Ok enrico ..... i will see what i can do ...... thanks for the reply
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top