Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Oliver Gaida edited this page Aug 31, 2020 · 7 revisions

rusdc - a client for commandline usage

find records

$ rusdc find nr "name like 'foo%'" name,description --format mlr
name  description
foo1  foo QS
foo2  foo TEST

more examples under find examples-Wikipage or in the change_log

how to find the common_name attribute?

see here

the following objects have name as its commen_name-attribute:

attribute name

$ wget 'https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/ca-service-management/14-1/reference/ca-service-desk-manager-reference-commands/objects-and-attributes.html#concept.dita_d4e8dda5c6c16897f299aa43ede4abbb7f7a162e_nrObject' -O object.html
$ grep 'Common Name: name' object.html | perl -ne 'print $1."\n" if (~m/(\w+) Object/);'
arcpur_rule
ca_tou
cost_cntr
country
dept
gl_code
job_func
loc
nr
opsys
org
tab

sym:

grep 'Common Name: sym' object.html | perl -ne 'print $1."\n" if (~m/(\w+) Object/);'
auto_close
aty
act_type_assoc
ca_cmpny
closure_code
cmth
symptom_code
state
crt
ctab
ctp
dcon_typ
dlgsrvr
dmn
doc_rep
fmgrp
ical_alarm
ical_event_template
imp
intfc
kwrd
mfrmod
mgsstat
nrf
options
outage_type
perscnt
position
pr_trans
prod
quick_tpl_types
rc
resocode
resomethod
response
rrf
rss
seq
sev
site
slatpl
special_handling
svc_contract
typecnt
tz
tspan
transition_type
urg
vpt
wrkshft

ref_num:

grep 'Common Name: ref_num' object.html | perl -ne 'print $1."\n" if (~m/(\w+) Object/);'
cr
in
pr

combo_name:

grep 'Common Name: combo_name' object.html | perl -ne 'print $1."\n" if (~m/(\w+) Object/);'
cnt

chg_ref_num

chg ...

there are others like chg_ref_num for chg object, described here.

others?

grep 'Common Name: ' object.html | perl -ne 'print $1."\n" if (~m/Common Name: ([\w\s]+)</);' | sort | uniq
access_key
attrname
audobj_persid
CAPTION
color
combo_name
COMMENT_TEXT
condition_error
constraint_majic
description
dmuuid
EVENT_NAME
file_extension
id
Id
kpi_name
label
license_num
msg_hdr
name
OBJ_PERSID
procname
PROPERTY_NAME
ref_num
REF_PERSID
RELATIONAL_ID
sd_obj_type
session_persid
SUBJECT_ID
sym
text
ticket_type
type
user_smag
writer_name
xschema_code

Clone this wiki locally