GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 19 of 55    Print  
How to combine two gdg 's into a single gdg?

  
Total Answers and Comments: 2 Last Update: October 11, 2009     Asked by: praveena 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
June 14, 2006 23:56:22   #1  
       

RE: how to combine two gdg 's into a single gdg

Hi

This is very simple.Please use the JCL to merge both the GDG's into a new GDG.

//S1 EXEC PGM ICETOOL
//TOOLMSG DD SYSOUT *
//DFSMSG DD SYSOUT *
//IN1 DD DSN ... GDG1 DISP SHR
// DD DSN ... GDG2 DISP SHR

//OUT DD DSN GDG NEW DISP SHR
//TOOLIN DD *
SORT FROM(IN1) TO(OUT) USING(CTL1)
/*
//CTL1CNTL DD *
SORT FIELDS COPY

Thank you

Krishy


 
Is this answer useful? Yes | No
October 10, 2009 03:25:52   #2  
jvsamycts Member Since: October 2009   Contribution: 2    

RE: How to combine two gdg 's into a single gdg?
Use IEBGENER and give the two gdg's in SYSUT1 and concatenated gdg will be created in SYSUT2. SYSIN should be DD DUMMY.
 
Is this answer useful? Yes | No

 Related Questions

Can i call 5 pgms using static call n 3 pgms using dynamic call in a single pgm, if then how many load modules will be there? What about the compiler option(parm)to use?
Read Answers (6) | Asked by : upendar

Latest Answer : Use IEBGENER and give the two gdg's in SYSUT1 and concatenated gdg will be created in SYSUT2. SYSIN should be DD DUMMY. ...
Read Answers (2) | Asked by : praveena

If you have 3 different flat files of different logical length then how will you merge them in single flat file? What is the simplest workaround of this problem using sort utility? 
Latest Answer : First of all you cant merge files with different record length. Second if you really want to merge those files you will have increase their length using file aid, copy by 3.3 option, select  the 'T' in the screen then select the length (keep a flat length ...


 Sponsored Links

 
Related Articles

ODP.NET - Populating a Dataset with a Single Data Table

ODP NET Populating a Dataset with a Single Data Table A dataset is simply a group of data tables These data tables can be identified with their own unique names within a dataset You can also add relations between data tables available in a dataset mosgoogle The following code gives you the details o
 

ODP.NET - Retrieving a Single Row of Information Using OracleDataAdapter

ODP NET Retrieving a Single Row of Information Using OracleDataAdapter In the previous example we worked with a set of rows in the DataTable object Now we shall work with a particular row using the DataTable object The following code accepts an employee number from the user and gives you the details
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

How To Combine the Power of CRM With Surveys

How To Combine the Power of CRM With Surveys As the global business market becomes more competitive many companies realize that they must retain their existing customers No matter how much money a company has it cannot remain competitive if it does not place an emphasis on Customer relationship mana
 

How To Combine ERP With CRM

How To Combine ERP With CRM A number of companies wish to use ERP as a method that can simply allow them to integrate the existing elements of their business However this will only improve one aspect of your organization To truly be effective it may be necessary to combine the benefits of ERP with t
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape