View previous topic :: View next topic
|
Author |
Message |
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Hi,
I want to invoke File-aid utility from an edit macro. Is there any way to do that ? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What have you tried so far, and what were the results |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
maridawson
New User
Joined: 24 Jun 2008 Posts: 59 Location: chennai
|
|
|
|
Ok enrico ..... i will see what i can do ...... thanks for the reply |
|
Back to top |
|
|
|