Page 1 of 1

Setting of quickkeys for FileAid

PostPosted: Thu Aug 22, 2013 10:07 pm
by chinkump
I am trying to set up the quickkeys for FileAid for my shop. I am trying to write a clist name F1 which will open the view panel of FileAid. There will be no need of opening FileAid separately and going to the option 1 to view the file.
I have written a piece of code below
*************************************************************************************************
000001 PROC 1 DATA_SET_NAME_OR_GO
000002 CONTROL MSG
000003 SET &FUNCVAR = &STR(1) ============>>> Here 1 signifies the option 1 ie the view option in FileAid
000004 SET &DSNVAR = &STR(&DATA_SET_NAME_OR_GO)
000005 IF &SUBSTR(1:1,&DSNVAR) = &STR(') -
000006 THEN SET &QUOTE = &STR(QUOTE)
000007 ELSE SET &QUOTE = &STR()
000008 ISPEXEC SELECT -
000009 CMD(%FILEAID &FUNCVAR DSN(&DSNVAR) &QUOTE) NEWAPPL(FIL)
000010 END
*************************************************************************************************
I an getting the following error after the execution of the above code.

IKJ56712I INVALID KEYWORD, 1
IKJ56703A REENTER THIS OPERAND -
IKJ56712I INVALID KEYWORD, DSN('AAAABBBB.Dataset')
***

However after the execution of the above code the Primary Panel of FileAid is being displayed and as per requirement option 1 of Fileaid should be displayed.

Experts please help me how to get the option 1 from the primary panel of FileAid. Basically the doubt is how to pass the options after the REXX/CLIST has been invoked.

Thanks,
Chinkump

Re: Setting of quickkeys for FileAid

PostPosted: Fri Aug 23, 2013 8:34 am
by steve-myers
I'm pretty sure these messages are coming from the attempt to start Fileaid. If that's true, then

CMD(%FILEAID &FUNCVAR DSN(&DSNVAR) &QUOTE) NEWAPPL(FIL)

is not the correct way to start it in an ISPF environment. I suggest you work your way through the Fileaid documentation.

I am not a Fileaid user and know essentially nothing about the product; I can not provide any more assistance.