I've created a massive ISPF 3.14 dataset (batch) and just want to simply ISPF EDIT and Save it when done. ISPF Batch is not my best skill
My Job JCL used both ISPF (SISP) DD statements and without ... Errors received are not my friend
I believe I'm mixing Commands that aren't allowed together, not sure, and if you could just provide the command structure for to test, I can learn from that. Thanks so much in advance
Scenario #1: Batch Job JCL Input:
//SYSTSIN DD *
EDIT 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' TEXT NONUM
TOP
X ALL
F 'SRCH DSN' ALL
F 'STRING(S) FOUND' ALL
DEL X ALL
END SAVE
EDIT 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' TEXT NONUM
TOP
X ALL
F 'SRCH DSN' ALL
F 'STRING(S) FOUND' ALL
DEL X ALL
END SAVE
Error Messages:
EDIT 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' TEXT NONUM
EDIT
TOP
EDIT
X ALL
IKJ56500I SUBCOMMAND X NOT FOUND
EDIT
F 'SRCH DSN' ALL
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: ALL
EDIT
F 'STRING(S) FOUND' ALL
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: ALL
EDIT
DEL X ALL
IKJ56701I MISSING SINGLE LINE NUMBER OR RESPECIFY LINE RANGE
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: X ALL
EDIT
END SAVE
IKJ52572I WARNING, DATA SET 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' WILL BE SAVED WITHOUT PRINT CONTROL CHARACTERS
EDIT
END
EDIT
TOP
EDIT
X ALL
IKJ56500I SUBCOMMAND X NOT FOUND
EDIT
F 'SRCH DSN' ALL
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: ALL
EDIT
F 'STRING(S) FOUND' ALL
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: ALL
EDIT
DEL X ALL
IKJ56701I MISSING SINGLE LINE NUMBER OR RESPECIFY LINE RANGE
IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: X ALL
EDIT
END SAVE
IKJ52572I WARNING, DATA SET 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' WILL BE SAVED WITHOUT PRINT CONTROL CHARACTERS
EDIT
END
Scenario #2: Batch Job JCL Input:
//SYSTSIN DD *
EDIT 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' TEXT NONUM
TOP
ISREDIT MACRO
ISREDIT EXCLUDE ALL
ISREDIT FIND 'SRCH DSN' ALL
ISREDIT FIND 'STRING(S) FOUND' ALL
ISREDIT DELETE X ALL
ISREDIT END SAVE
EDIT 'SYS7.INSTE01.IOA.V9002.OBSMEMBR' TEXT NONUM
TOP
ISREDIT MACRO
ISREDIT EXCLUDE ALL
ISREDIT FIND 'SRCH DSN' ALL
ISREDIT FIND 'STRING(S) FOUND' ALL
ISREDIT DELETE X ALL
ISREDIT END SAVE