Documente Academic
Documente Profesional
Documente Cultură
File Manager
Background
File Manger is located on ISPF primary menu
Typing FM from the ISPF menu takes us to the following screen.
Process Options Help
-----------------------------------------------------------------------------File Manager
Primary Option Menu
Command ===>
0
1
2
3
4
5
6
7
X
Settings
Set processing options
User ID . : DCSAYA
Browse
Browse data
System ID : MVS5
Edit
Edit data
Appl ID . : FMN
Utilities Perform utility functions
Version . : 3.1.0
Tapes
Tape specific functions
Terminal. : 3278
Disk/VSAM Disk track and VSAM CI functions
Screen. . : 1
OAM
Work with OAM objects
Date. . . : 2003/10/09
Templates Create, edit, or update templates
Time. . . : 03:09
Exit
Terminate File Manager
F1=Help
F3=Exit
F10=Actions F12=Cancel
Creating dataset
Copying datasets
Catalog Services (Inquire/Define)
Global Find/Change
Compare Data
Settings
Set processing options
User ID . : DCSAYA
Browse
Browse data
System ID : MVS5
Edit
Edit data
Appl ID . : FMN
Utilities Perform utility functions
Version . : 3.1.0
Tapes
Tape specific functions
Terminal. : 3278
Disk/VSAM Disk track and VSAM CI functions
Screen. . : 1
OAM
Work with OAM objects
Date. . . : 2003/10/09
Templates Create, edit, or update templates
Time. . . : 05:04
Exit
Terminate File Manager
F1=Help
F3=Exit
F10=Actions F12=Cancel
Copybook or Template:
Data set name . . . . . 'DCSTMIR.DEFERRAL.COPYLIB'
Member . . . . . . . . DEDX02LK Blank or pattern for member list
F3=Exit
F10=Actions F12=Cancel
q
q
q
q
6
Use PF Keys <F10> and <F11> to scroll left and right and <F7>/<F8> to scroll
up and down.
To change the screen display from CHAR format to SINGLE record format change
the FORMAT (Right Top Corner) from CHAR to SNGL (Changing the first byte to S
will also serve the purpose). Screen display from CHAR from to TABLE format
can be done by changing the FORMAT from CHAR to TABL or the first byte to T.
Display formats can be changed from one format to another by changing the
FORMAT.
If you were viewing the data in CHAR format and now changed to TABL, you can
go back to the previous format by pressing PF Key <F2>
2009 Wipro Ltd - Confidential
Use PF KEYS <F7> and <F8> to scroll the page up and down to view all the fields.
10
10
This will take you to record selection screen where you specify the conditions
11
11
12
12
#3
13
you can specify the dataset and member name where you want to save the
template. If you save the Template in dataset, you can use that template
whenever you want to view the dataset with the selection criteria. This will
save your time in re-typing the selection criteria.
Command ===>
To save changes, type a data set and member name below, then
press name if PDS
Member
PF3/Exit.
Data set name 'DCSTEST.DCSAYA.COPYLIB'
Member . . . NEWFILE
14
14
Copybook or Template:
Data set name . . . . . 'DCSTMIR.DEFERRAL.COPYLIB'
Member . . . . . . . . DEDX02LK Blank or pattern for member list
This option allows user to create a copybook template to browse that dataset.
The template created dynamically can be saved in dataset and can be used for later
reference.
15
15
Enter the fields starting position, length and data type as shown above to create
dynamic copybook as needed. This will select 1 3
char, 4 2 Char from the
input file.
Process Options Help
------------------------------------------------------------------------------File Manager Edit Dynamic Template
Line 1 of 16
Command ===>
Scroll CSR
1 Edit template field attributes and selection
Cmd Con ( Start Length Type Op Value
*** **** Top of data ****
AND 1
AND 4
AND
AND
AND
3
2
AN
AN
Additionally you can give the conditions also(using Con, OP, Value to select
particular records.
Press <F3>. In Template Save menu, enter dataset to save the copybook or
Press <F10> to run from temp.
16
16
17
17
We can the browse the multi record layout file by selecting the each record
layout independently.
For example, if the input file is having 3 record types (Header Record, Detail
record and Trailer record), each record type can be browsed with mapping to
corresponding record layout in the copybook.
Process Options Help
-----------------------------------------------------------------------------File Manager
Browse Entry Panel
Command ===>
options
Processing Options:
Copybook/template usage
Enter "/" to select option
1 1. Above
/ Edit template
2. Previous
3. None
4. Create dynamic
18
Select by putting /
18
Hit enter to select the fields. Press <F8> to scroll down and select
all the fields with in the Header layout.
19
19
Press <F3>, and in template Save screen, as mentioned earlier either you can save the
template or just run from temp.
Similarly we can browse return area record with corresponding to layouts. Just select
the corresponding fields in Field selection screen as shown before.
Also we can specify record selection criteria to select required records under each
layout as we do for any normal file.
20
20
All these functions are similar to browse option. Please refer the
browse selection above for details.
21
21
Using the file manager Create option you can either create new dataset using COBOL
record layouts to initialize each field or regular dataset with out any layout.
22
22
menu, enter the new dataset name, copybook dataset name and
of input record as shown below
23
23
In
the above screen mention all the dataset attributes as shown and press <Enter>.
This will create the file with 1900 records in the file..
Process Options Help
-----------------------------------------------------------------------------Allocate DCSTEST.DCSAYA.TESTFILE
Command ===>
More: +
Specify a model data set, SMS class names, or leave blank for defaults:
Like data set . .
Volume serial . .
Data class . . .
leave blank for default
Storage class . .
leave blank for default
Management class
leave blank for default
Space Requirements:
Space unit . . . TRKS
BLKS, TRKS, CYLS, KB, or MB
Primary units . . 10
quantity of above units
Secondary units . 10
quantity of above units
Directory blocks 10
leave blank for SMS default
Record format . . FB
if new format: U,F,V, or D, with B,S,A,M
Record length . . 100
Block size . . . 1000
physical output block size
Library type . .
LIBRARY, PDS, or blank for default
Release unused .
enter YES to free unused space, else NO
24
24
25
Select by putting /
25
you can select the required fields by enter S in front of the fields.
Press enter after entering S in front of the field. Use <PF7> and <PF8> to scroll
up and down.
26
26
27
27
28
YES or NO
Press <F3> twice and in template save screen press <PF10> to run from the temp.
28
qYou
29
29
30
30
31
31
Select by putting /
32
32
33
33
34
Once again press <PF3> and in template save screen press <PF10>.
Specify the TO Dataset name.
Continue with the process for copying as described earlier to copy all records with
CK-COMPANY- NO = 001
Please refer to IBM Manual for more options in File Manager COPY.
34
35
35
Data Set:
Data set name . 'DCSTEST.DCSAYA.PAYV.PMT0CKA3'
Catalog ID . .
Processing Options:
Entry Type
3 1. Any
6. Cluster
2. Non-VSAM
7. Data
3. VSAM
8. GDG
4. AIX
9. Index
5. Alias
10. OAM
36
Input the
Dataset Name
here.
36
37
37
Input the
Dataset Name
here.
of file by
choosing the
Data Set:
appropriate
Data set name . 'DCSTEST.DCSAYA.PAYV.PMT0CKA3'
number.
Catalog ID . .
Processing Options:
Entry Type
3 1. Any
6. Cluster
2. Non-VSAM
7. Data
3. VSAM
8. GDG
4. AIX
9. Index
5. Alias
10. OAM
38
Sort field
11. Page space 1 1. Name
12. Path
2. Creation date
13. User catalog 3. Free space
38
Use PF KEYS <F7> and <F8> to scroll the page up and down to view all the fields.
39
39
Input the
Dataset Name
here.
Processing Options:
Entry Type
3 1. Any
6. Cluster
2. Non-VSAM
7. Data
3. VSAM
8. GDG
4. AIX
9. Index
5. Alias
10. OAM
Sort field
11. Page space 1 1. Name
12. Path
2. Creation date
13. User catalog 3. Free space
Depending on the type of selection you have made, a popup window will come to enter the
type of Dataset (KSDS, ESDS,etc) you want to define.
40
40
41
Data Set:
Data set name . 'DCSTEST.DCSAYA.TEST.VSAM'
Select the type
Catalog ID . .
Processing Options:
Entry Type
3 1. Any
6. Cluster
2. Non-VSAM
7. Data
3. VSAM
8. GDG
4. AIX
9. Index
5. Alias
10. OAM
Input the
Dataset Name
here.
of file by
choosing the
appropriate
number.
Sort field
42
43
43
Data Set:
Data set name . 'DCSTEST.DCSAYA.TEST.VSAM'
Select the type
Catalog ID . .
Processing Options:
Entry Type
3 1. Any
6. Cluster
2. Non-VSAM
7. Data
3. VSAM
8. GDG
4. AIX
9. Index
5. Alias
10. OAM
Input the
Dataset Name
here.
of file by
choosing the
appropriate
number.
Sort field
Pressing Enter will ask for a Confirmation. You can revoke the deletion by pressing <PF3>
or end.
44
44
q
q
q
q
45
45
Press <Enter>, this will list all members in the dataset in the bottom.
46
46
47
47
Using the same feature we can replace all the matching string to different string.
For example, if you want to replace all RETURN with END, Enter C ALL RETURN END
on
the command prompt.
This command will change all the occurrence of RETURN with END.
Press <PF3>, it will ask for the confirmation to save the changes or not. To save the
Changes just press <Enter>, to cancel the changes press <PF3>
48
48
49
49
qYou
50
50
q
q
51
Thank You!
52
52
38