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
 

 

How to invoke file-aid using an Edit macro?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

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
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 59
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: 17
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: 59
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: 10232
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: 59
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
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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