z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


VIEW—view a data set

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--VIEW--DATASET(dsname)--+----------------+----------->
                                   '-VOLUME(serial)-'   

>--+----------------------+--+-------------------+-------------->
   '-PASSWORD(pswd-value)-'  '-PANEL(panel-name)-'   

>--+-------------------+--+-----------------------+------------->
   '-MACRO(macro-name)-'  '-PROFILE(profile-name)-'   

>--+---------------------+--+------------------+---------------->
   '-FORMAT(format-name)-'  |        .-NO--.   |   
                            '-MIXED(-+-YES-+-)-'   

>--+--------------------+--+---------------+-------------------->
   |          .-YES-.   |  |     .-NO--.   |   
   '-CONFIRM(-+-NO--+-)-'  '-WS(-+-YES-+-)-'   

>--+--------------------+--+----------------+--+-------+-------->
   |          .-YES-.   |  '-PARM(parm-var)-'  +-ASCII-+   
   '-CHGWARN(-+-NO--+-)-'                      '-UTF8--'   

>--+-------------------+---------------------------------------><
   '-LINECMDS(tabname)-'   

OR

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--VIEW--DATAID(data-id)--+---------------------+------>
                                   '-MEMBER(member-name)-'   

>--+-------------------+--+-------------------+----------------->
   '-PANEL(panel-name)-'  '-MACRO(macro-name)-'   

>--+-----------------------+--+---------------------+----------->
   '-PROFILE(profile-name)-'  '-FORMAT(format-name)-'   

>--+------------------+--+--------------------+----------------->
   |        .-NO--.   |  |          .-YES-.   |   
   '-MIXED(-+-YES-+-)-'  '-CONFIRM(-+-NO--+-)-'   

>--+---------------+--+--------------------+-------------------->
   |     .-NO--.   |  |          .-YES-.   |   
   '-WS(-+-YES-+-)-'  '-CHGWARN(-+-NO--+-)-'   

>--+----------------+--+-------+--+-------------------+--------><
   '-PARM(parm-var)-'  +-ASCII-+  '-LINECMDS(tabname)-'   
                       '-UTF8--'                          

OR

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--VIEW--WSFN(ws-filename)--+-------------------+------>
                                     '-PANEL(panel-name)-'   

>--+-------------------+--+-----------------------+------------->
   '-MACRO(macro-name)-'  '-PROFILE(profile-name)-'   

>--+---------------------+--+------------------+---------------->
   '-FORMAT(format-name)-'  |        .-NO--.   |   
                            '-MIXED(-+-YES-+-)-'   

>--+--------------------+--+---------------+-------------------->
   |          .-YES-.   |  |     .-NO--.   |   
   '-CONFIRM(-+-NO--+-)-'  '-WS(-+-YES-+-)-'   

>--+--------------------+--+----------------+------------------><
   |          .-YES-.   |  '-PARM(parm-var)-'   
   '-CHGWARN(-+-NO--+-)-'                       

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('VIEWbbbb'--,--+--------+--,-+-serial-+------>
                                  '-dsname-'    '-'b'----'   

>--,-+-pswd-value-+--,-+-panel-name-+--,-+-macro-name-+--------->
     '-'b'--------'    '-'b'--------'    '-'b'--------'   

>--,-+-profile-name-+--,--+---------+--,-+-member-name-+-------->
     '-'b'----------'     '-data-id-'    '-'b'---------'   

                        .-'NObbbbbb'-.    .-'YESbbbbb'-.      
>--,-+-format-name-+--,-+-'b'--------+--,-+-'b'--------+--,----->
     '-'b'---------'    '-'YESbbbbb'-'    '-'NObbbbbb'-'      

                                  .-'YES'-.                
>--+-------------------------+--,-+-'b'---+--,-+-'b'---+-------->
   '-ws-filename-buffer-name-'    '-'NO'--'    +-'YES'-+   
                                               '-'NO'--'   

>--,-+-parm-var-+--,--+----------+--,-+-'ASCII'-+-);------------>
     '-'b'------'     '-file-var-'    +-'UTF8'--+      
                                      '-'b'-----'      

>--,-+-tabname-+-----------------------------------------------><
     '-'b'-----'   

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer);--------------------------><

Return codes

 0
Normal completion
Note: Data can only be saved using the CREATE or REPLACE primary commands.
12
VIEW has been disabled through the ISPF configuration table.
14
Member, sequential data set, or z/OS® UNIX file in use.
16
One of these:
  • No members matched the specified pattern.
  • No members in the partitioned data set.
18
A VSAM data set was specified but the ISPF Configuration Table does not allow VSAM processing.
20
Severe error; unable to continue.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014