Skip to content

additional scripts. #1

Open
Open
@bdietz400

Description

@bdietz400

I found an IBM written script:
ftp://public.dhe.ibm.com/services/us/igsc/cs2/shellScripts/
the zips a save file.

I took the idea to then move a savf to ta real savf.
it needs some help but is functional. You can use if you want

#!/usr/bin/sh

declare SAVF=$1
declare -u LIBFILENAME=$2

echo $SAVF
echo $LIBFILENAME

declare -u IFSPATH="/QSYS.LIB/${LIBFILENAME%/}.LIB/${LIBFILENAME#/}.FILE"

echo $IFSPATH

system "crtsavf $LIBFILENAME"

echo '.:. Copying' $SAVF 'to save file' $LIBFILENAME '.:.'

sleep 1

cp $SAVF $IFSPATH

system "dspsavf $LIBFILENAME"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions