Desktop productivity for business analysts and programmers

System Command Task Not Working in EG 6.1

Reply
Frequent Contributor
Posts: 87

System Command Task Not Working in EG 6.1

Hi There,

I've been using the System Command task from The SAS Dummy website:

http://blogs.sas.com/content/sasdummy/2007/10/05/you-are-under-my-command-prompt/

in EG 5.1 successfully for a while and have a number of projects that use it. I've just been upgraded to EG 6.1 and all the custom tasks I use work except this one. Has anyone else had this problem and if so were they able to fix it? The task turns green and no errors (or anything) show up in the log but it doesn't perform any of the commands it is suppose to.

I've posted a message to Chris on the page above and will post any responses but thought I'd also check with the wider group on this forum.

Many thanks in advance

Steve

Super User
Posts: 3,233

Re: System Command Task Not Working in EG 6.1

Have you checked your SAS session options to confirm using an X command is still allowed?

In EG submit: proc options; run; then search LOG for XCMD - if set to NOXCMD then it needs to be changed.

BTW this option can be set via SAS Management Console if you are using a remote server.

Frequent Contributor
Posts: 87

Re: System Command Task Not Working in EG 6.1

Hiya,

I don't think that is the issue as the remote server hasn't changed at all, just the EG version and the task was working perfectly in EG 5.1. The task is designed to allow you to do the very thing NOXCMD prevents you doing at a local level if I understand it correctly.

cheers

Steve

Frequent Contributor
Posts: 121

Re: System Command Task Not Working in EG 6.1

This task is very old and most likely compiled against SAS Enterprise Guide 4.2 and the Microsoft .Net Framework 2.0

It may be possible that SAS changed the custom taks API in EG 6.1 or that you run into .Net issues when you try to execute the DLL inside a newer .Net Framework environment. You might also have some 32/64 bit compatibilty issues.

My advice: turn on the logging in EG, search the log for errors and post the error message. See: 17730 - Turning on logging in SAS® Enterprise Guide® 4.2, 4.3, 5.1, and 6.1

Frequent Contributor
Posts: 87

Re: System Command Task Not Working in EG 6.1

Hmm no errors showed up in log but it appears as if most of the tasks, including the System Command one can not be found:

Any one seen this before?

2014-07-28 08:10:11,305 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.EG.EGTasks.InfoMaps.InfoMapImport,139e4531-39d0-4458-a1ec-897990ce8c0c in the librarian's sorted list

2014-07-28 08:10:11,305 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.Tasks.ImportData.ImportDataModel,ca4e7d68-4f64-4ec1-ae3a-7ff4c5711e97 in the librarian's sorted list

2014-07-28 08:10:11,336 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.EG.Tasks.CreateMapFT.CreateMapFTModel,a0252e97-a494-406c-a350-f260a4311265 in the librarian's sorted list

2014-07-28 08:10:11,336 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.EG.Tasks.MapGraph.MapGraphModel,0f5ead80-7865-42ee-94a2-223189fa76ae in the librarian's sorted list

2014-07-28 08:10:11,336 [Main] INFO  SAS.EG.SEGuide.Forms.Librarian [(null)] - Task "SAS.EG.Tasks.CreateMapFT.CreateMapFTModel" deprecated in version 4.3, use ec243de8-3164-4b0a-9824-b7e3452eaf7f instead

2014-07-28 08:10:11,336 [Main] INFO  SAS.EG.SEGuide.Forms.Librarian [(null)] - Task "SAS.EG.Tasks.MapGraph.MapGraphModel" deprecated in version 4.3, use ec243de8-3164-4b0a-9824-b7e3452eaf7f instead

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.Tasks.CopyFiles.SasFileTransferTask,660ed464-dab4-48ad-a1d9-452148b2cffe in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.CalculateLag.Lag,9f259b91-8490-4457-b9a9-cf088713ae28 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.CatalogExplorer.CatalogExplorer,26891660-f177-4093-975c-987fbe3cc9e8 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.CharacterizeData.CharacterizeData,6367fa75-6730-40d7-8d8b-3744baf252ad in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.ClassicHat.ClassicHat,9f5ee3b1-1057-44c3-b57d-57c1c29f5a0a in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.Contents.Contents,083565a5-7f3b-4d4e-a0ee-2278067f66ff in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.LifeExpectancy.LifeExpectancy,ce2eb0e4-d300-4967-87c5-71e5adcc89ed in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.SASProducts.SASProducts,50c9ee17-6b05-43ca-9848-47b8a8d143c4 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find EGAddin.SysCommand.SysCommand,13a5a715-e3ca-4b41-a944-df5dde0e5ffc in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SASVB.CustomTasks.SASVB.SASProducts.SASProducts,5ae97039-b8be-4727-af78-c4c02ac4d5bd in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SASVB.CustomTasks.SASVB.CustomTasks.PicFormat,c1999be1-d97b-469d-9a70-aa0f89810b4e in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SASVB.CustomTasks.SASVB.Compare.Compare,4e9d4e6c-308b-43e8-af65-1cd7a14198c6 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SASVB.CustomTasks.ClassicHat,b99ccb91-8ec7-451c-a440-7af399c9d744 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.AreaBar.AreaBar,67e83b4e-4d3a-42b1-86a0-9e9223a5c92c in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.FSEdit.FSEdit,293d7b33-6f1b-4b3c-aabe-69edf9165f86 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.HurricaneTracker.HurricaneTracker,412011f1-8ba9-4283-afb9-317c2a2c0b24 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.LoanCompare.LoanCompare,eb986c34-3ebe-4629-aa26-7e48e4ac972c in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.MergeData.MergeDataTask,4b87fdc1-66ab-46d4-9a44-69693c381f99 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.PairedBar.PairedBar,64bb7aab-c0e6-4c15-9824-c1724fc5cd1f in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.SimpleCodeEditor.SimpleCodeEditor,059b372f-5a6e-4af4-a183-edfdc925073b in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.SPSS.SPSS,9dbdeff5-09b6-4a8f-9f05-4108c3e81e77 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SAS.CustomTasks.ZipcodeDotMap.ZipcodeDotMap,8f0f5eb3-89f4-4306-818e-e4cc66d5a5f5 in the librarian's sorted list

2014-07-28 08:10:11,398 [Main] WARN  SAS.EG.SEGuide.Forms.TaskListView [(null)] - Did not find SASVB.CustomTasks.MergeData.MergeDataTask,8413e3d1-ce59-4574-a07a-a0dbc84fed55 in the librarian's sorted list

Frequent Contributor
Posts: 87

Re: System Command Task Not Working in EG 6.1

For those who run into the same problem I was using the Add-In Manager to add the custom tasks which didn't show any errors at all but the tasks simply didn't work. Chris Hemedinger suggested I drop the DLL files into the designated Custom folder:

%appdata%\SAS\EnterpriseGuide\6.1\Custom

I had to create the folder first but once I did the tasks worked straight away, thanks to Chris for the answer and for everyone's help.

cheers

Steve

Ask a Question
Discussion stats
  • 5 replies
  • 828 views
  • 3 likes
  • 3 in conversation