I have written an automated migration process based solely on SYNCSORT. What the process does is it reads a list of Configuration items or CI's (ie. JCL, PROC, Datalib, source, etc) and generates JCL to migrate these configuration items.
It can also update this list in the end, indicating which environment the CI is in and what date it was migrated. It also keeps a log as to who migrated this and when.
Some useful SYNCSORT Advanced Functions
- SYNCSORT has an IFTHEN function that allows you to generate specific output formats based on specific criteria in the input record. With this, you can say, generate a compile JCL if the CI read is a source or generate an IEBCOPY job if the CI is a JCL or PROC.
- SYNCSORT can translate strings. You can specify the input string and the resulting output string using the FINDREP command.
- SYNCSORT can parse inputs allowing you to specify your SORTIN as NAME=PGMNAME,PDS=SOURCE.LIB. With the PARSE command you do not need to put your fields in specific columns, but you can type them up as shown.
- SYNCSORT can use synonyms to make your control cards readable. If you have a statement like SORT FIELDS=(1,10,CH,A), you can change it so that the statement can look something like: SORT FIELDS=(NAME,CH,A) by using synonyms. To do this, you specify the synonyms in the SYMNAMES DD name.
Pure Genius. Thank you for sharing, Philip.
ReplyDeleteLaurie