Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to invoke file-aid using an Edit macro?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware Tools
Author Message
maridawson

New User


Joined: 24 Jun 2008
Posts: 52
Location: chennai

PostPosted: Thu Nov 19, 2009 3:01 pm    Post subject: How to invoke file-aid using an Edit macro?
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
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 6469
Location: Brussels once more ...

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

What have you tried so far, and what were the results
Back to top
View user's profile Send private message
Moved: Thu Nov 19, 2009 4:17 pm by superk From CLIST & REXX to Compuware Tools
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 13611
Location: 221 B Baker St

PostPosted: Thu Nov 19, 2009 9:30 pm    Post subject:
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: 52
Location: chennai

PostPosted: Mon Nov 23, 2009 10:02 am    Post subject:
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: 14
Location: pune

PostPosted: Mon Nov 23, 2009 12:28 pm    Post subject:
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: 52
Location: chennai

PostPosted: Mon Nov 23, 2009 2:57 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 5414
Location: italy

PostPosted: Mon Nov 23, 2009 3:02 pm    Post subject: Reply to: How to invoke file-aid using an Edit macro?
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: 52
Location: chennai

PostPosted: Mon Nov 23, 2009 4:21 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware Tools All times are GMT + 6 Hours
Page 1 of 1