Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Checkout a component from a personal PDS into changeman

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Feb 09, 2009 12:11 pm    Post subject: Checkout a component from a personal PDS into changeman
Reply with quote

Hi all,
I have a member in my personal PDS. Now i want to compile it using Changeman.
Is it possible to checkout a component from a personal PDS into changeman staging library?

Sorry for posting it here, couldn't find a forum for Changeman.
Back to top
View user's profile Send private message

rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Mon Feb 09, 2009 1:02 pm    Post subject:
Reply with quote

Hi,

In the Change man Primary menu

-enter option 1(build)

-in the next screen enter option 5(checkout)

Then you will get another screen like below.

Code:
CHECKOUT OPTIONS -----------------------------
 OPTION  ===>                                                                 
                                                                               
 PACKAGE ID ===> abc1002222
                                                                               
   1  Base/Prom - Checkout from baseline or promotion libraries               
   2  Package   - Checkout package components                                 
                                                                               
 Press ENTER to process; Enter END command to exit. 

Type 1 at OPTION prompt, you will prompted with the following screen


 

----------------------------------- CHECKOUT ----------------------------------
OPTION ===>

L - List libraries where component is located

PACKAGE ID ===> abc1002222 (Package name)

COMPONENT NAME ===> PROG1 (Name or Pattern for list; "ABCDEF" OR "ABC*")
Pattern of only "*" Checks Out all Components
related to Library Type.
LIBRARY TYPE ===> (Blank for list)
LANGUAGE ===> (Applies to source code; * for list)
SOURCE LIBRARY ===> 0 (Baseline 0 to -n; Promotion +1 to +n)

CHECK OUT TO ===> (S-Staging library, P-Personal library)
PERSONAL LIBRARY ===>
LIBRARY DSORG ===> (Personal library: PDS, PDSE, SEQ, PAN, LIB)

CONFIRM REQUEST ===> NO (Y/N)
CHECKOUT MODE ===> 1 (1-Online, 2-Batch)
LOCK COMPONENT ===> NO (Y/N)

Press ENTER to process; Enter END command to exit.


Fill it up based on your requirement.

Thanks,
Rajulan.
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Feb 09, 2009 1:31 pm    Post subject: Reply to: Checkout a component from a personal PDS into chan
Reply with quote

I have my code in a member in my personal PDS. As for example
COBOL.TEST.SOURCE(NEWCODE)
When i try checking out with the above options from changeman it does not recognize the member name as this member is in my personal PDS.

Is there any process to checkout from my personal PDS onto changeman staging library.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 09, 2009 3:35 pm    Post subject:
Reply with quote

Hi,

Try this after "loggin-in" to change man:
1.
Code:
 1  Build    - Create, update and review package data

2.
Code:
 6  Stage     - Stage, edit, browse and delete components

3.
Code:
 1  Dev       - Stage components from development libraries
You'll get something like:
Code:
--------------------------- STAGE: FROM DEVELOPMENT ---------------------------
COMMAND ===> ________________________________________________                 
                                                                               
      PACKAGE ID: XXX1018443      STATUS: DEV      INSTALL DATE: 20090619     
                                                                               
ISPF LIBRARY:                                                                 
   PROJECT   ===> ________                                                     
   GROUP     ===> ________________________________                             
   TYPE      ===> ________                                                     
   MEMBER    ===> ________       (Blank or pattern for list; * for all members)
                                                                               
OTHER PARTITIONED OR SEQUENTIAL DATASET:                                       
   DSN       ===> 'XXXXXX.ANUJ.PDS                                             
   ORG       ===> ___            (PDS, SEQ, PAN, LIB, OTH)                     
                                                                               
LIBRARY TYPE      ===> ___       (Blank for list)                             
STAGE NAME        ===> ________  (Optional if organization not SEQ)           
CONFIRM REQUEST   ===> YES       (Y/N)                                         
STAGE MODE        ===> 1         (1-Foreground, 2-Batch)                       
LOCK COMPONENT    ===> NO        (Y/N)                                         
                                                                               
Press ENTER to process; Enter END command to exit.                             

Here
Code:
OTHER PARTITIONED OR SEQUENTIAL DATASET:                 
   DSN       ===> 'XXXXXX.ANUJ.PDS                       
   ORG       ===> ___            (PDS, SEQ, PAN, LIB, OTH)
You need to provide the PDS name, where you have your "code"; then follow the instructions on screen.

It should be noted that PDS name should not start with your RACF ID, 'am not sure why but at my shop, change man does not read from such PDSs.
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Feb 09, 2009 4:46 pm    Post subject: Reply to: Checkout a component from a personal PDS into chan
Reply with quote

Thanks Anuj,
It worked, but it shows the status as INCOMP

NAME TYPE STATUS CHANGED PROCNAME ID REQUEST
RENPULL SR2 INCOMP 20090209 XXXXXXX

Do you have any idea why is it showing the status as Incomplete.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 09, 2009 4:52 pm    Post subject:
Reply with quote

Hi,

When you follow the above process, component is just "checked out", it's not been "staged" yet, you need to recompile it.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 09, 2009 4:56 pm    Post subject:
Reply with quote

Hello again,

If you have the same options as of my shop and option 1/6/1 worked for you then for "recompilation" you would opt for 1/6/2 where "2" is meant for
Code:
2  Package   - Process package components 
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Mon Feb 09, 2009 5:12 pm    Post subject:
Reply with quote

HI,

I think now the component is in your changeman package.

For recompiling, you could give R1 against the member which is in your package.

Or

1.Open the member in edit mode.

2.Press F3 twice

3.Press enter twice

and see the magic and let mw know the resul.

Thanks,
Rajulan R.C
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 09, 2009 5:24 pm    Post subject:
Reply with quote

Hi Rajulan,

Change man is a "third party tool", those options would differ from shop to shop. At my shop for recompilation, I use "R" & some times "S", so "that magic" might need some other options to follow at prasenjit_dey's shop... icon_smile.gif
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Mon Feb 09, 2009 5:34 pm    Post subject:
Reply with quote

Yes Anuj. Let him use this option. It might be working. Most of the companies are using this option. I have see that. If not, will help him in an other way....

Thanks,
Rajulan.
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Feb 09, 2009 5:46 pm    Post subject: Reply to: Checkout a component from a personal PDS into chan
Reply with quote

CMN9800I - xxxx001934 component RENPULL FAILED ON 2009/02/09 @ 06:12:26. CN(INT
ERNAL)
06.12.29 JOB06808 $xxx165 xxxxx ENDED AT xxxxJ2N1 MAXCC=666 CN(INTERNAL)

Anuj, Rajulan when i am trying to recompile i get the above error.

Any thoughts as to why and what is the error.

Thanks,
Prasenjit.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Mon Feb 09, 2009 6:37 pm    Post subject:
Reply with quote

Hi,

Compiltion of your program is failed, check the "PRINT2 PRINT " DDname for the cause of error in SYSOUT of "compile job" which was "submitted" when you compile the program..
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Mon Feb 09, 2009 6:54 pm    Post subject: Reply to: Checkout a component from a personal PDS into chan
Reply with quote

Thanks Anuj for your help i had some sub routine calls and that was causing the trouble.

Anyways thanks a lot for your help guys!
Back to top
View user's profile Send private message
Debabrata Pruseth

New User


Joined: 11 Dec 2008
Posts: 59
Location: Pune , India

PostPosted: Mon Feb 09, 2009 7:03 pm    Post subject:
Reply with quote

I think the terms are misleading in the Changeman context . You cannot CHECKOUT from your personal PDS to CMAN , you can only STAGE them . CHECKOUT only refers to checking out from base PDs or from other packages already there in CMAN , so that you can modify them .
Back to top
View user's profile Send private message
prasenjit_dey

New User


Joined: 30 Apr 2008
Posts: 20
Location: Noida

PostPosted: Tue Feb 10, 2009 10:43 am    Post subject: Reply to: Checkout a component from a personal PDS into chan
Reply with quote

Debabrata yes you are right the term is incorrectly used!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Feb 10, 2009 1:05 pm    Post subject:
Reply with quote

Yeah, terms are kind of misleading, that's why used in Double-quotes, so that inference doesn't go wrong - I had to go with Subject line.

In these forums, where communication media is only the written text, some times to getting things working at other "end" you use what OP can understand well & then get him/her on right track..

Actually, the moment you select the option
Code:
6  Stage     - Stage, edit, browse and delete components
there is no more context of "check out" is alive..!
Back to top
View user's profile Send private message
manishmittal

New User


Joined: 25 Apr 2008
Posts: 49
Location: Gurgaon

PostPosted: Thu Feb 12, 2009 1:13 pm    Post subject:
Reply with quote

Thought for Rajulan Reply.

I think that magic only works when u made changes in your code.Else u have to use R option.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to sync memebers in some datasets... Lord.of.Wind Compuware & Other Tools 2 Thu Apr 21, 2016 12:48 pm
No new posts Rexx code that expands changeman comp... Gopalakrishnan V CLIST & REXX 0 Thu Jan 08, 2015 11:31 am
No new posts Duplicate component install allowed i... kratos86 CA Products 2 Fri Oct 03, 2014 12:08 am
No new posts REXX macro to get dataset/member name... mistah kurtz CLIST & REXX 7 Thu Aug 07, 2014 6:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us