DataToZでアドレス帳移行

1996.9.17 更新

 以下は、ザウルスPIシリーズの電話帳1/2のデータをZtoText(Macの場合はZtoData?)とDataToZを使い、アドレス帳に移行するための手順です。

 パソコンとザウルスのデータの転送の仕方がわからない方は、ZtoText,DataToZ,その他光通信ソフト等のドキュメントをお読み下さい。

 DOS汎用のフリーソフト、DataToZ,ZtoTextについては、そのうち解説します。
 NiftyServeのFENOTEに登録されています。

◆目的

 PIからカラーザウルスに電話帳データを直接移行すると、会社名無しのデータとなり、名刺データと混ざってしまい扱いにくくなります。
 情報ファイルを使うことにより、電話帳1/2/名刺を区別して扱うこともできますが、レスポンスが犠牲になってしまいます。
 そこで、パソコン上で、'友人・知人','ショップ'等の'会社名'を付けてカラーザウルスに転送することで上記の問題を解消します。

◆制限


◆保証

 カラーザウルスはデータ構造結構変わっている様です。
 私がテストした方法を書きますが、保証は一切ありません。
 自身の責任で行って下さい。

◆作業用データの準備

 まず、カラーザウルスのデータフォーマットを読み込みます。
 アドレス帳にテキトーなデータを入力し、パソコンに転送します。
 その際、通信方式はカラーザウルスにします。(ケーブルの場合?)
 以下のようなファイルができればokです。

"H","1e","MI10                          ","19960728130126","0001","00000001"
"I","SCRT","tPID","mDTM","mISC","CTGR","LKIF","NAME","NAPR","TEL1","FAX1","PGR1","CPS1","ZIPC","ADR1","MAL1","OFCE","OFPR","TEL2","FAX2","ZIP2","ADR2","SCTN","PSTN","BRTH","RMRK","CHK1","CHK2","CHK3","CHK4"
"M","04","MI10","0001","ADRS","BOXFILE","ADDRESS1.BOX","1.1","20","19960728130126"
"S","BIT","BINARY","TIME","BINARY","CATEGORY","BINARY","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","TIME","CODE","BIT","BIT","BIT","BIT"
"C","ATTRIB","IGNORE","TIME","IGNORE","CATEGORY","3TO4","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","TIME","SJIS2","CHKMARK","CHKMARK","CHKMARK","CHKMARK"
"T","アトリビュート","シンクロID","修正時刻","PIM_DB_DATA","カテゴリー","リンク情報","個人名","個人名読み","自宅電話番号","自宅FAX番号","ポケベル番号","携帯電話番号","自宅郵便番号","自宅住所","自宅メールアドレス","会社名","会社名読み","会社電話番号","会社FAX番号","会社郵便番号","会社住所","所属","役職","生年月日","備考","暑中見舞","年賀状","お中元","お歳暮" 
"D"," ", …


◆移行もとデータの準備

 PIシリーズの電話帳1/2のデータをそれぞれ全件パソコンに読み込みます。
 それを、ZtoTextで'/I /D'のオプションを付けてデータ形式に変換して下さい。
変換後サンプル
"i","SCRT","NAME","NAPR","TEL1","ZIPC","ADR1","BRTH","RMRK","CHK1","CHK2","CHK3","CHK4"
"T","シークレット","個人名","個人名読み","電話番号","郵便番号","住所","生年月日","備考","暑中見舞い","年賀状","お中元","お歳暮"
NAME:日本テレビ
NAPR:にほんテレビ
TEL1:03-3265-2111
ZIPC:102-40
ADR1:東京都千代田区二番町14

NAME:フジテレビ
NAPR:フジテレビ
TEL1:03-3353-1111
ZIPC:162-88
ADR1:東京都新宿区河田町3-1


◆会社名編集

 テキストエディタで、会社名(OFCE),会社名読みを(OFPR)を追加します。
 エディタの検索や置き換えを使えば簡単な筈です。
編集サンプル
OFCE:マスコミ
OFPR: マスコミ
NAME:フジテレビ
NAPR:フジテレビ
TEL1:03-3353-1111
ZIPC:162-88
ADR1:東京都新宿区河田町3-1

★会社名は'電話帳1','電話帳2'としても良いですが、上記のようにカテゴリ別に分類するのもお勧めです。
 ex.'友人・知人','親族','ショップ','テレホンサービス'
★会社名読みの先頭に' 'を付けることで、会社リストで[他]に持っていけるので名刺データと区別するのに便利です。

■変換作業1:'電話'/'住所'を'会社TEL'/'会社住所'にする場合

 編集したファイルの先頭のインデックス行とヘッダ行に、'"OFCE","OFPR"','"会社名","会社名読み"'を追加します。
 それぞれが対応していれば、挿入位置は先頭以外どこでも大丈夫な筈です。
編集サンプル
"i","SCRT","OFCE","OFPR","NAME","NAPR","TEL1","ZIPC","ADR1","BRTH","RMRK","CHK1","CHK2","CHK3","CHK4"
"T","シークレット","会社名","会社名読み","個人名","個人名読み","電話番号","郵便番号","住所","生年月日","備考","暑中見舞い","年賀状","お中元","お歳暮" 

 次に、DataToZでザウルスの形式に変換します。
 この時、半角化したければ、'/I'のオプションを付けて下さい。

■変換作業2:'電話'/'住所'を'自宅TEL'/'自宅住所'にする場合

 編集したファイルの先頭のインデックス行とヘッダ行をカラーザウルスから読み込んだものに差し換えます。
サンプル
"I","SCRT","tPID","mDTM","mISC","CTGR","LKIF","NAME","NAPR","TEL1","FAX1","PGR1","CPS1","ZIPC","ADR1","MAL1","OFCE","OFPR","TEL2","FAX2","ZIP2","ADR2","SCTN","PSTN","BRTH","RMRK","CHK1","CHK2","CHK3","CHK4"
"T","アトリビュート","シンクロID","修正時刻","PIM_DB_DATA","カテゴリー","リンク情報","個人名","個人名読み","自宅電話番号","自宅FAX番号","ポケベル番号","携帯電話番号","自宅郵便番号","自宅住所","自宅メールアドレス","会社名","会社名読み","会社電話番号","会社FAX番号","会社郵便番号","会社住所","所属","役職","生年月日","備考","暑中見舞","年賀状","お中元","お歳暮" 

 次に、DataToZでザウルスの形式に変換します。
 この時、半角化したければ、'/I'のオプションを付けて下さい。
 変換後のファイルのヘッダ部をカラーザウルスから読み込んだものに差し換えます。
編集サンプル
"H","1e","MI10                          ","19960728130126","0001","00000001"
"I","SCRT","tPID","mDTM","mISC","CTGR","LKIF","NAME","NAPR","TEL1","FAX1","PGR1","CPS1","ZIPC","ADR1","MAL1","OFCE","OFPR","TEL2","FAX2","ZIP2","ADR2","SCTN","PSTN","BRTH","RMRK","CHK1","CHK2","CHK3","CHK4"
"M","04","MI10","0001","ADRS","BOXFILE","ADDRESS1.BOX","1.1","20","19960728130126"
"S","BIT","BINARY","TIME","BINARY","CATEGORY","BINARY","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","CODE","TIME","CODE","BIT","BIT","BIT","BIT"
"C","ATTRIB","IGNORE","TIME","IGNORE","CATEGORY","3TO4","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","SJIS1","TIME","SJIS2","CHKMARK","CHKMARK","CHKMARK","CHKMARK"
"T","アトリビュート","シンクロID","修正時刻","PIM_DB_DATA","カテゴリー","リンク情報","個人名","個人名読み","自宅電話番号","自宅FAX番号","ポケベル番号","携帯電話番号","自宅郵便番号","自宅住所","自宅メールアドレス","会社名","会社名読み","会社電話番号","会社FAX番号","会社郵便番号","会社住所","所属","役職","生年月日","備考","暑中見舞","年賀状","お中元","お歳暮" 
"D"," ",,,,,,"石田 徹",,"045-8**-****",,,,"247","横浜市栄区**",,"友人・知人"," ゆう",,,,,,,,,,,,
 :

◆送信(これで最後)

 カラーザウルスにファイルを送信します。
 その際、通信方式はカラーザウルスにします。(ケーブルの場合?)
 情報ファイルの[名刺管理](場合によっては電話帳)ファイルにデータがファイルされていると思います。
 これは、破棄するか、[電話帳1]といった名前に変えて下さい。
 上記の方法で電話帳1/2を処理した後で、名刺管理を光通信でコピーすれば、情報ファイル上も別ファイルとして管理できる筈です。

◆DataToZ,ZtoTextについて

 カラーザウルスになって、項目が結構増えていますが、カラーザウルスから送信したデータをもとに、DataToZ.itm,ZtoText.itmを修正すればある程度は対応できる筈です。
 今回の作業に関しては、*.itmファイルは標準のままで作業できる筈です。
[COLOR ZAURUS TOP] [ZAURUS TOP] [HOME] (rule)
E-mail>L.Force(@)mikeneko(.)com or PDC00353(@)nifty(.)com