MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delete MFS blocks with MFSRVC utility

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
poojithas
Beginner


Joined: 03 May 2013
Posts: 4
Topics: 2

PostPosted: Fri Apr 05, 2019 12:46 am    Post subject: Delete MFS blocks with MFSRVC utility Reply with quote

Hi,
I am trying to delete MFS blocks from staging library IMS.FORMAT using MFSRVC proc. Basically when a MFS source is assembled it creates various blocks in FORMAT libray and I want to delete these.

I am not sure how to give control statements for this in SYSIN for DFSUTSA0

Tried with below combinations, no luck. Please help.

Code:
001   SCRATCH FORMAT,FMT=TXN*                               
            DFS1224I KEYWORD PARAMETER DELIMITER IS INVALID.
            DFS1209I PROCESSING TERMINATED BY EOD ON SYSIN.

Code:
001   SCRATCH INDEX REFER,MSG=TXN01 FORMAT,MSG=TXN01                           
            DFS1240I INVALID COMMENT DELIMITER - POSSIBLE MISPUNCHED STATEMENT.
            DFS1209I PROCESSING TERMINATED BY EOD ON SYSIN.                   
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Sun Apr 07, 2019 4:28 pm    Post subject: Reply with quote

poojithas,

I don't think you can provide wild card format for DFSUTSA0 program. Try

Code:

//SYSIN     DD *
 SCRATCH FORMAT,MSG=TXN01
 SCRATCH REFER,MSG=TXN01
/*


JCL:
Code:

//STEP0100  EXEC PGM=DFSUTSA0,PARM='DEVCHAR=0'
//STEPLIB   DD DISP=SHR,DSN=IMS.ACTIVE.RESLIB
//REFIN     DD DISP=OLD,DSN=IMS.REFERAL
//FORMAT    DD DISP=SHR,DSN=IMS.TFORMAT
//SYSUDUMP  DD SYSOUT=*
//SYSSNAP   DD SYSOUT=*
//SYSPRINT  DD SYSOUT=*
//SYSIN     DD *
 SCRATCH FORMAT,MSG=TXN01
 SCRATCH REFER,MSG=TXN01
/*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
poojithas
Beginner


Joined: 03 May 2013
Posts: 4
Topics: 2

PostPosted: Sun Apr 07, 2019 11:17 pm    Post subject: Reply with quote

Thank you Kolusu, it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group