GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 17 of 55    Print  
When an output file from Mainframes has compressed fields, how do you uncompress them and save the file as a text?

  
Total Answers and Comments: 2 Last Update: August 01, 2006     Asked by: Sreenivasan NS 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 07, 2006 11:27:29   #1  
Alex        

RE: When an output file from Mainframes has compressed...

Objective: Converting a file with compress fields for another file with un

packed information for a final FTP transfer to Windows environment.

First is presented the file with the compress information and following a explanation of the steps needed to convertion.

1) Compress File


2) Uncompress File on File Aid


3) Uncompress File on final result

2) Explanation to uncompress the file (step by step).

1 - From screen of the File Aid (ISPF Primary Option Menu: Z.16.1 or TSO @FAMENU)

2 - Choose the option 9: REFORMAT

3 - Choose: Process on-line or batch > O and D on the field of the option.

4 The trick is the information from the 2 copybooks. They must have the same fields but the fields that second copybook have not compress fields all fields are in edit format. If you prefer that the uncompress file have spaces between the fields define Filler fields in output copybook.


5 - If the copybooks are well formated the correspondency is made automaticaly. Enter the comand ex .

Note: The field M-CHEQ-EMID-SWIF on the input copybook is compress and on the output copybook is a display numeric. Between each field of output copybook is a filler (spaces) for better visualization of the fields of the output file.

6 - Choose the input file and the correspond uncompress output file. The output file must have been allocated with record lenght of the uncompress copybook. Press Enter.

and Voil the uncompress file is ready to FTP transfer for Windows environment.

Best Regards;

Alex.


 
Is this answer useful? Yes | No
August 01, 2006 11:33:27   #2  
pavanjit        

RE: Need to transfer a file of Rec length 1092 from mainframe to my inbox

hi all

i am able to get a file in mainframe of rec len 80 as an attachment to my inbox but the same if i try to do with a file of rec len 1092 its giving max cc 0 but not transfering the file could u please suggest me something


 
Is this answer useful? Yes | No

 Related Questions

I have 3 files . 2 files have millions of records.These 2 files have one ( empnumber) common record field. i want to put those records in 3rd file , such that which records having same number in key field (empnumber)in these two files ?
Read Answers (9) | Asked by : mark

When an output file from Mainframes has compressed fields, how do you uncompress them and save the file as a text?
Read Answers (2) | Asked by : Sreenivasan NS

Latest Answer : Simply you can use the below sort card,SORT FIELDS=COPY             OUTFIL FILES=1,NULLOFL=RC4   SORTIN    - Dataset to be tested for EmptySORTOF1  - Output ...
Read Answers (8) | Asked by : ANIL

What is code of copy from ps file to gdg file and copy from gdg file to ps file in jcl.how i can do?
Read Answers (5) | Asked by : Ajay Kumar Tiwari

Program for employee master creation and update and listing.hint: employee master creation file contains 10 records of 10 employees as.Emp code ename designation jd bp sl etc?
Read Answers (2) | Asked by : sachin borase

Latest Answer : Changeman is a version and configuration control software for Mainframe, which gives you (the standard) facilities like bundling the related components (programs, JCLs etc) of a release together, version control for installation / rollback of components, ...
Read Answers (4) | Asked by : gugangugan

I want to know that is it possible by using COBOL programming? 
Latest Answer : Not going by the previous complicated ways u can check ur emulator software for file uploading facility.Go into the option 6 in the TSO screen then in ur emulator's menu select Transfer File -> Upload File from PC and browse the file u want ...
Read Answers (2) | Asked by : shivani

View Question | Asked by : Neeraj Dubey

How to use start keyword in index(ksds) file ? Explain with real time situation where you would use this.
View Question | Asked by : naveen

(1)How many bytes will take the redefine in this situation 01 a pic 9(2). 01 b redefines pic 9(2).(2)What is null & not null value in db2?(3)What is changeman tool in the mainframes environment and tell about package, freeze in changeman
Read Answers (1) | Asked by : sumanth


 Sponsored Links

 
Related Articles

C++ Standard Input Output Stream

C Standard Input Output Stream In this C tutorial you will learn about standard input stream and standard output stream explained along with syntax and examples C programming language uses the concept of streams to perform input and output operations using the keyboard and to display information on
 

What is Data File

In a logical data model, the conceptual data model which is based on the business semantic is being defined. Thus, entities and relationships and corresponding table and column design, object oriented classes, and XML tags, among other things are being laid regardless of the database will be physica
 

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
 

Mainframes Computers

Mainframe Introduction In this Mainframe tutorial you will learn about mainframes and its concepts and some of the early mainframes describing the evolution and history of mainframes in detail History and Evolution of Mainframes Mainframe Channel Direct Access Storage Device DASD and Logical Partiti
 

PHP Tutorials - File manipulation (Part-2)

File manipulation Part 2 In this PHP Tutorial you will learn the 2nd Part of File Manipulation Reading lines from a file Reading arbitrary amounts of data from a file Writing to a file Creating directories Removing a directory and Opening a directory for reading mosgoogle Reading lines from a file T
 

PHP Tutorials – File manipulation (Part 1)

PHP Tutorials File manipulation Part 1 In the PHP Tutorial You will learn about File manipulation Part 1 Checking file existence A file or directory Determining file size Creating and deleting files and Opening a file for writing reading or appending mosgoogle Checking file existence You can test
 

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
 

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