Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
HMIGRATE COMMAND returns non zero RC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
nirmalgarga

New User


Joined: 07 Jul 2006
Posts: 1

PostPosted: Fri Jul 07, 2006 11:32 am    Post subject: HMIGRATE COMMAND returns non zero RC
Reply with quote

When I tried to migrate a Physical Sequential Dataset using the following
command in REXX Program:

"HMIG <PS DATASET NAME> EXTENDRC ML2 WAIT"

I get Return Code RC(2949212). Could anyone help me in finding out the possible reason for this problem?
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Jul 07, 2006 6:25 pm    Post subject: Re: HMIGRATE COMMAND returns non zero RC
Reply with quote

The HELP panel for HMIGRATE command (TSO HELP HMIGRATE) indicates:

Code:

 EXTENDRC - specifies that DFSMShsm will return a return code         
   and reason code to your CLIST or batch TSO job                     
   (job that executes the program IKJEFT01).                           
   The &LASTCC control variable (in the case of a CLIST)               
   or register 15 (in the case of a batch TSO job)                     
   will contain the return code in the high-order two bytes           
   and the reason code in the low-order two bytes.                     
   Notes:                                                             
   This option is only appropriate when the command is issued         
   in a CLIST or TSO batch job, and when the WAIT option is           
   also specified.                                                     


If you are not executing the HMIGRATE command in a CLIST or TSO batch job, EXTENDRC may not be necessary and may result in the odd return code.

Is the HMIG command failing and not migrating the requested dataset?
Back to top
View user's profile Send private message
chandrasekar_g

New User


Joined: 15 Jun 2005
Posts: 3

PostPosted: Fri Jul 07, 2006 9:22 pm    Post subject:
Reply with quote

Try giving HRECALL in the line command on the corresponding dataset.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us