GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Mainframe
Go To First  |  Previous Question  |  Next Question 
 Mainframe  |  Question 35 of 55    Print  
How to import a text file from windows to Mainframe PS?
I want to know that is it possible by using COBOL programming?


  
Total Answers and Comments: 2 Last Update: July 16, 2007     Asked by: shivani 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
May 25, 2007 09:49:34   #1  
kckinney Member Since: May 2007   Contribution: 48    

RE: How to import a text file from windows to Mainfram...
There are many many ways.You can have your COBOL program link to the FTP program to grab a file.You can have your COBOL program send an MQ message to the pc to ftp the file to the MVS.You can have your COBOL program issue and EXCI command through CICS to grab the PC file.You can have your COBOL program format JCL to FTP GET and sub it to the int reader.Alternately you could forget about the COBOL program and go with a PC trigger. Set up the PC script to poll a directory for a certain file. When it sees it the script can do several things - 1) FTP a job to MVS to do an FTP get (This has the added advantage of allowing batch processing on the file)2) FTP the dataset to MVS within the script3) Set an MQ trigger on MVSAs I said there are many ways of doing this. The best on depends on what you plan on doing with the file once you get it.

RTM kk

 
Is this answer useful? Yes | No
July 16, 2007 06:18:02   #2  
Rajiv Mohapatra        

RE: How to import a text file from windows to Mainfram...

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 to upload and specify the name of the PS.

However the options are emulator dependent so u might hav to search a little for the particular option

There is also a similar option for download from PS to a file on PC


 
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

Latest Answer : The physical components of Maninframe is DASD and other type of Auxiliary storages devices like Tape and Main storage. ...
Read Answers (1) | Asked by : manytolearn

Latest Answer : RACF is Resource Access Control Facilty. It is used for logging access violations, authenticating users/groups and protecting access to sub-systems ...
Read Answers (5) | Asked by : prem123

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

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

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

View Question | Asked by : lindela


 Sponsored Links

 
Related Articles

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
 

JavaScript Windows Object Properties Part II

JavaScript Windows Object Properties Part II In this JavaScript tutorial you will learn about screenX screenY screenLeft and screenTop top length frames opener parent and window property of Window object along with syntax and examples mosgoogle center screenX This property screenX returns the x coor
 

JavaScript Windows Object Properties Part I

JavaScript Windows Object Properties Part I In this JavaScript tutorial you will learn about Windows Object properties namely personalbar statusbar scrollbar toolbar property of Window object pageXOffset pageYOffset innerwidth innerheight outerwidth and outerheight mosgoogle center personalbar Prope
 

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
 

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