×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

help hold file

help hold file

help hold file

(OP)
Hi
I am running webfocus under MVS and DB2 and windows NT.
How I can reuse an hold file create In an other session.
thanks
Breyt

RE: help hold file

You can save a hold-file by allocating it to a permanent place on disk. If you're running Webfocus on a NT-platform you should allocate the holdfile by using a filedef-command to a permenant directory before you use the table request that will write to it.
e.g.

FILEDEF FILE1 DISK C:\SHAREDIR\FILE1.FTM
TABLE FILE CAR
  PRINT *
  ON TABLE HOLD AS FILE1
END
-RUN

However:
Maybe you do not want to write to a flat file so other users can use them. Better is to write to a focus-file or a sql-file because there is no garantee that nobody else is writing to the same file at the same time.
The result of writing to a flat file may be unpredictable.

Frank van de Kant
http://www.explicit.nl

RE: help hold file

(OP)
You can save a hold-file by allocating it to a permanent place on disk. If you're running Webfocus on a NT-platform you should allocate the holdfile by using a filedef-command to a permenant directory before you use the table request that will write to it.
e.g.

FILEDEF FILE1 DISK C:\SHAREDIR\FILE1.FTM
TABLE FILE CAR
  PRINT *
  ON TABLE HOLD AS FILE1
END
-RUN

However:
Maybe you do not want to write to a flat file so other users can use them. Better is to write to a focus-file or a sql-file because there is no garantee that nobody else is writing to the same file at the same time.
The result of writing to a flat file may be unpredictable.
Frank van de Kant
http://www.explicit.nl
_______________________________________________________
How I can use the hold file after in an other session ? I want only run a focexec on this hold file witout retuning to the mainframe ,
thanks
breyt


RE: help hold file

(OP)
How I can use the hold file after in an other session ? I want only run a focexec on this hold file without retuning to the mainframe ,
thanks
breyt

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close