コピーブックを使用して WTX design Studio に取り組んでいます。コピーブックはありますが、その .cpy ファイルに関する対応するサンプル入力がありません。
テキスト ドキュメントを手動で作成するのではなく、コピー ブックからサンプル テキスト ファイルを生成する方法はありますか?
ビルが言ったように、利用可能なツールに応じて多くの方法があります。
いくつかの数値データを生成する RecordEditor マクロ:
  /******************************************************************
   * Purpose: RecordEditor Example Macroto generate numeric data for a file
   * 
   *  It is best to run this script from a Single Record Screen rather than 
   * a Table screen
   *
   *******************************************************************/     
 var rec = layout.getRecord(0)
 var lines = RecordEditorData.view.createLines(20)
 for (lineNo = 0; lineNo < 20; lineNo++) {
    print(lineNo);
    for (i=0; i < rec.getFieldCount(); i++) {
        try {
            lines[lineNo].getFieldValue(0, i).set(lineNo * 100 + i) 
        } catch(err) {
            lines[lineNo].getFieldValue(0, i).set(i % 10)   
        }
    }
 }
 RecordEditorData.view.addLines(-1,1, lines)
マクロからの出力:
