Difference between revisions of "DSPF"
From MidrangeWiki
m |
m (formatting) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | DSPF is | + | [[Category:Commands]] |
+ | {{Command Infobox| | ||
+ | command=DSPF| | ||
+ | command_title=Display File| | ||
+ | parameters=STMF(<nowiki>'</nowiki>streamfile<nowiki>'</nowiki>)<br>''or''<br>FILE(library/filename)<br>MBR(membername)| | ||
+ | job_batch=No| | ||
+ | job_inter=Yes| | ||
+ | pgm_batch=No| | ||
+ | pgm_inter=Yes| | ||
+ | rexx_batch=No| | ||
+ | rexx_inter=Yes| | ||
+ | exec=Yes| | ||
+ | threadsafe=No}} | ||
+ | The Display File command, '''DSPF''', is used to display [[stream file]]s or [[database file]] members. | ||
+ | |||
+ | ==Uses== | ||
+ | *'''''Note:''' Database files with record lengths exceeding 4096-bytes cannot be displayed with DSPF.'' | ||
+ | |||
+ | ==Examples== | ||
+ | *Using DSPF to display a stream file: | ||
+ | :<pre>DSPF STMF('/home/filename.txt')</pre> | ||
+ | *Using DSPF to display a database member: | ||
+ | :<pre>DSPF FILE(library/filename) MBR(membername)</pre> | ||
+ | |||
+ | ==Categories== |
Latest revision as of 18:37, 31 October 2010
DSPF | |||||||||||||||||||
Display File | |||||||||||||||||||
Parameters: | STMF('streamfile') or FILE(library/filename) MBR(membername) | ||||||||||||||||||
Environments: |
|
The Display File command, DSPF, is used to display stream files or database file members.
Uses
- Note: Database files with record lengths exceeding 4096-bytes cannot be displayed with DSPF.
Examples
- Using DSPF to display a stream file:
DSPF STMF('/home/filename.txt')
- Using DSPF to display a database member:
DSPF FILE(library/filename) MBR(membername)