<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markpa</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markpa"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Markpa"/>
		<updated>2026-07-27T12:23:59Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Command-Line_Interface&amp;diff=1411</id>
		<title>Command-Line Interface</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Command-Line_Interface&amp;diff=1411"/>
				<updated>2008-03-03T22:58:40Z</updated>
		
		<summary type="html">&lt;p&gt;Markpa: New page: These are notes I made re using the command line interface with v6, I have no idea if they will relate to r11 but would not expect the command line interface to have changed.  &amp;lt;nowiki&amp;gt;Plea...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;These are notes I made re using the command line interface with v6, I have no idea if they will relate to r11 but would not expect the command line interface to have changed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;Please excuse the format but trying to manage wiki formatting with all the -'s and %'s was too painful.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
The quickest summary of the command can be obtained by using the standard -h help switch&lt;br /&gt;
&lt;br /&gt;
&amp;gt;pdm_text_cmd -h&lt;br /&gt;
pdm_text_cmd: Text API Command Line Interface - Sends text commands to Text API Daemon.&lt;br /&gt;
&lt;br /&gt;
Usage: pdm_text_cmd -t table { -u from_userid | -p from_persid } [-o operation] [-f input_file] [-T timeout] [-h]&lt;br /&gt;
Where:&lt;br /&gt;
  -t = Table to process.&lt;br /&gt;
  -o = Operation to perform. Valid: NEW|UPD|UPDATE|UPDO|UPDATE_ONLY. Default: NEW&lt;br /&gt;
  -f = File to process. Default is to use STDIN.&lt;br /&gt;
  -u = Cmd from userid.&lt;br /&gt;
  -p = Cmd from persid.&lt;br /&gt;
  -T = Time out in seconds.&lt;br /&gt;
  -h = This help.&lt;br /&gt;
&lt;br /&gt;
Table and Operation parameters are case-insensitive.&lt;br /&gt;
Valid Table values are listed in the Options section of the text_api.cfg file.&lt;br /&gt;
&lt;br /&gt;
Valid tables are: ASSET CHANGE CONTACT ISSUE REQUEST&lt;br /&gt;
&lt;br /&gt;
If no parameters are defined in file all text is assumed to be description.&lt;br /&gt;
&lt;br /&gt;
Summary is created as first 60 characters of description if not otherwise set.&lt;br /&gt;
&lt;br /&gt;
Will default assignee where requestor is an analyst.&lt;br /&gt;
&lt;br /&gt;
Parameters can be specified as below in file&lt;br /&gt;
&lt;br /&gt;
&amp;gt;pdm_text_cmd -t REQUEST -u st00002 -f pdm_text_cmd.text (default operation is NEW)&lt;br /&gt;
&lt;br /&gt;
where pdm_text_cmd.text is&lt;br /&gt;
%SUMMARY=My Summary&lt;br /&gt;
%DESCRIPTION=Please fix the problem I've described in the description&lt;br /&gt;
%PRIORITY=3&lt;br /&gt;
%CUSTOMER=mparssey&lt;br /&gt;
%CATEGORY=Hardware&lt;br /&gt;
%ASSIGNEE=agrainger&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To update an existing record&lt;br /&gt;
&amp;gt;pdm_text_cmd -t REQUEST -u mparssey -o UPDATE -f change_status.txt&lt;br /&gt;
&lt;br /&gt;
where change_status.txt is&lt;br /&gt;
%SEARCH=REQUEST_ID&lt;br /&gt;
%REQUEST_ID=102953&lt;br /&gt;
%STATUS=Work In Progress&lt;br /&gt;
&lt;br /&gt;
where you can write %SEARCH=keyword1;keyword2;keyword3&lt;br /&gt;
%keyword1=value1&lt;br /&gt;
%keyword2=value2&lt;br /&gt;
%keyword3=value3&lt;br /&gt;
%keyword4=new value1&lt;br /&gt;
%keyword5=new value2&lt;br /&gt;
%keyword6=new value3&lt;br /&gt;
&lt;br /&gt;
You can add multiple requests to a file using %%%%% as the separator.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Markpa</name></author>	</entry>

	</feed>