Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions samples/vsam_read_sample.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Purpose: Use ZOAU's mvscmdauth to run IDCAMS and print the contents of a VSAM data set
# in character format. The data set is specified as OME.QUAL.D250430.T171115.

# Run IDCAMS to print the VSAM data set
mvscmdauth --pgm=IDCAMS --sysprint=* --sysin=stdin --INVSAM=OME.QUAL.D250430.T171115 <<EOF
PRINT INFILE(INVSAM) CHARACTER
EOF