BookmarkSubscribeRSS Feed
SatishR
Obsidian | Level 7

Hello, 

I am working with SAS Viya 3.5, in that i have existing created job 

Sample: Unload cas-shared-default Public data

Sample: load cas-shared-default Public data

 

to configure this job first load unload data on daily basis i have some doubt as below.

First lets discuss about unloading the data,

SatishR_0-1713001913546.png

as per the steps, we have to make changes in the Argument, so once click on argument tab following screen appears,

SatishR_1-1713002075791.png

in server name, we selected Cas Server, Further data is in public library so incaslib selected, where to assign the table name which we have to unload from public library. what is use of filter tab.

I configured below manner,

SatishR_0-1713005094991.png

and I am getting below log,

 


--------------------------------------------------


--------------------------------------------------

----------JOB INFORMATION----------

Job Created: 2024-04-13T10:11.121Z
Job ID: e8e07de8-a900-4fb2-85b8-3dbfb73f2c89
Heartbeat interval: PT0.3S
Job expires after: PT168H
Running as: Sas
Log file: /files/files/d44a07ee-74bb-4ee8-a90d-3aa1ff556094 [ 2024-04-13T10:11.121Z-results.log ]
Arguments:

Options:
{
"enabled" : true,
"type" : "UNLOAD",
"settings" : {
"unloadAccessThreshold" : "PT45S",
"successJobId" : ""
},
"selectors" : [ {
"serverName" : "cas-shared-default",
"inputCaslib" : "test123",
"outputCaslib" : null,
"filter" : "eq(name,’SAMPLE_DATA_PREP’)",
"settings" : { }
} ]
}

--------------------------------------------------

Created session cas-shared-default: e6c0f370-32c7-8640-bc0e-fdd312b7d189 (CAS Manager:Sat Apr 13 15:41:16 2024)
Using session e6c0f370-32c7-8640-bc0e-fdd312b7d189
Server: cas-shared-default
Input caslib: test123
Effective Settings:
{
"successJobId" : "",
"unloadAccessThreshold" : "PT45S"
}
----------UNLOAD STARTING----------


----------UNLOAD COMPLETE----------

----------SUMMARY----------

0 TABLES PROCESSED

----------CLEANUP STARTING----------

Session deleted: cas-shared-default: e6c0f370-32c7-8640-bc0e-fdd312b7d189
----------CLEANUP COMPLETE----------

Final Job State: completed
Log file:/files/files/d44a07ee-74bb-4ee8-a90d-3aa1ff556094

Similarly  I want clarity regarding Loading the data. Please anyone could help to resolve the same.

 

Thanks in advance.

 

4 REPLIES 4
gwootton
SAS Super FREQ
From the looks of your output you are telling the job to unload an in-memory table called "SAMPLE_DATA_PREP" in the CASLIB test123 if it hasn't been accessed in the last 45 seconds.

It looks like it did not find any tables that met those conditions.

Documentation on these Sample jobs can be found here:

CAS Table State Management
https://go.documentation.sas.com/doc/en/calcdc/3.5/caldatamgmtcas/n150v9svjp42ron1hn9r496xj49m.htm
--
Greg Wootton | Principal Systems Technical Support Engineer
SatishR
Obsidian | Level 7

@gwootton  Same document I have referred, even I tried case sensitive manner table name in filter but getting same output.

gwootton
SAS Super FREQ
Is the table currently loaded in memory? You may wish to engage SAS Technical Support to review your configuration and table state.
--
Greg Wootton | Principal Systems Technical Support Engineer
SatishR
Obsidian | Level 7

Yes Table loaded currently...

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Discussion stats
  • 4 replies
  • 612 views
  • 0 likes
  • 2 in conversation