Open topic with navigation

ibi™ Open Data Hub for Mainframe Connectors 1.0.8

# Free a Data set From the MVS System Console

To free a single DDNAME:

    F <iway_server_jobname/started task>,DYNAM FREE FI <ddname>

To free a single DSNAME (all occurrences in the server):

    F <iway_server_jobname/started task>,DYNAM FREE DS <dsname>

To free multiple DDNAMEs, passing a pattern (free all DDNAMEs starting with AB):

    F <iway_server_jobname/started task>,DYNAM FREE FI AB*

To free multiple DSNAMEs (all occurrences in the server), passing a pattern (free all allocations of data sets starting with `IWAY.VSAM`):

    F <iway_server_jobname/started task>,DYNAM FREE DA IWAY.VSAM*

A message is issued in the iway_server JESMSGLG indicating if the command was processed successfully or not, as follows.

Success:

    +DYNAM COMMAND SUCCESSFULLY PROCESSED Rc=0

Failure:

    +DYNAM ERROR: IKJ56225I DATA SET IWAY.TEST ALREADY IN USE, TRY LATER

## Freeing an Allocated Data Set

Suppose ISTART JCL (jobname IWAY2) has the following allocation:

    //VSAMFILE DD DISP=SHR,DSN=VSAM.FILEA.CLUSTER

The operator can free this file using the command (from the MVS console):

    F IWAY2,DYNAM FREE FI VSAMFILE

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

ibi™ Open Data Hub for Mainframe Connectors

Copyright © 2021-2025. Cloud Software Group, Inc. All Rights Reserved.