Tags:
tag this topic
create new tag
view all tags
---+ .FILE RESTRUCT _This subroutine will restructure the specified file._ <br />%TOC% ---++ Usage: <pre> PASS <error_msg> FIELD SHARE? Y PASS <file_name> FIELD SHARE? N PASS <application> FIELD SHARE? N PASS <database> FIELD SHARE? N GOSUB --- .FILE RESTRUCT * Check for errors IF --- .FILE RESTRUCT NE </pre> ---++ Description: This subroutine will restructure the specified file. This routine performs the same function as 'Restructure' in Data File Management. It has the same restrictions as Data File Management, ie, the user running the command must be either a System Administrator, or have Database Management rights for the Database/Application. The file to be created must be a Disk Permanent file, the 'Create By Database Mgmt?' flag in the Data Dictionary must be "Y", and the 'Use DB' field must be blank. <error_message> contains additional error information if the command fails (Required). Must be PASSed with Share "Y". Note that this message can be up to 500 characters in length. <file_name> is the file to be restructured (Required). This must be a file defined in your Data Dictionary. <application> is the application that contains the Data Dictionary for <file_name> (Optional). If not specified, it will default to the current application. <database> is the database in which the file should be restructured (Optional). If not specified, it will default to the current Database. If --- .FILE RESTRUCT contains 'Unable to Restructure', you can check the <error_message> field for more information on why the restructure failed. If it contains 'Restructure Complete', <error_message> will contain additional information, such as 'Restructure Not Required', 'Structure File Rebuilt', or 'Restructured'. If <error_message> contains 'Restructured', that indicates that an actual restructure was performed. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-03-01
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2012-03-01
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback