You could also read the SYSPARTITIONSTAT catalog view, construct the
CPYTOSTMF in the SELECT statement and execute the constructed CL-Command
with the QCMDEXC UDF
... all can be done in a single SELECT statement
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
Modernization ? Education ? Consulting on IBM i
Database and Software Architect
IBM Champion since 2020
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
"Train people well enough so they can leave, treat them well enough so they
don't want to. " (Richard Branson)
"Learning is experience ? everything else is only information!" (Albert
Einstein)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Sam_L
Sent: Monday, 12 February 2024 20:05
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Best way to convert from source PF to IFS source
I created a PDM user option & CL program that did a CPYTOSTMF, which works
for me, but I have probably have fewer source members than you.
Remember that when you have moved the source you still have to re-point any
/COPY & /INCLUDE statements to their new home in the IFS.
And there is no equivalent in the IFS of PF-SRC member text (though IBM bob
and VS Code may have workarounds, but I have not investigated.)
Sam
On 2/12/2024 11:58 AM, Jim Oberholtzer wrote:
We want to move all our source to the IFS. Simply put that's where
VSCode is best and GIT works. So the question becomes, what is the
best way to get source from a PF to the IFS?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.