All Questions
20 questions
-1
votes
1
answer
474
views
Hi there, I am very new to mainframe and JCL, and I need some help understanding what this means/what I have to do
I am so sorry if this is dumb of me to ask, but I have reached out to others on my team and most of them are on vacation this time of year. I received a list of things to work on (I am an apprentice) ...
1
vote
3
answers
232
views
MVS ALLOCATE DDNAME to apply to multiple jobs
I have a number of different JCL jobs that all need to refer to a specific DDNAME. Rather than editing every single JCL job to include this DDNAME I would like to set it up so that it is available for ...
1
vote
4
answers
250
views
What line changed in a PDSE member?
Earlier today, I changed a source-member in a PDSE in z/OS 2.2. I can see from Data Set List Utility that it was changed by me today.
Name Prompt Size Created Changed ...
3
votes
2
answers
373
views
GDG base creation using Java
From Java z/OS, using zfile I can create a mainframe dataset. Both flat file and GDG versions.
If the GDG base does not exist the java code abends. Do we have an option to create the mainframe GDG ...
1
vote
1
answer
7k
views
How to remove leading zeroes & trailing spaces in COBOL
Hi I have requirement to read a input file, each record contains certain record
01 FILE-DATA.
05 FILE-FIELD-A PIC 9(18).
05 FILLER PIC X(01) VALUE '*'.
05 FILE-FILED-B PIC X(...
3
votes
2
answers
552
views
Editing 3.4 screen in mainframe
I frequently use my development datasets (PO's mainly) such as: code, JCL, output datasets. And then I have few prod datasets that I frequently access as well. How do I go about editing the screen to ...
7
votes
1
answer
527
views
How to send my most recent dataset by FTP?
I am using IBM Mainframe TSO to view files from a dataset. I recently have been told to start FTPing the latest generation dataset everyday to a folder on my desktop. The problem is that the FTP ...
0
votes
2
answers
236
views
mainframe - DATA SET SHECICS.ZEUSBANK.TXNOFFLD NOT FOUND
I have a sequential dataset has the form of this
0000000520161103152815SHE0009 P1234561234567898765411112222 120AA
The last 2 bytes (position 71 and 72) are separate CH of either AA, AB, BA or ...
0
votes
1
answer
2k
views
ISPF/Mainframe Send File to Host with variable length
I need help with something I'm trying to do and cannot find help anywhere.
I'm trying to upload a file to Host via ISPF (ISPF -> Command -> "Send File to Host"). And the problem I'm having is that ...
0
votes
1
answer
3k
views
JCL/DFSORT to split dataset based on header of multi-lined records
I have a dataset with processed information, for 4 distinct departments, and I need to split it into one dataset per department. This is the general record structure:
XXXXXXX = irrelevant string
...
1
vote
3
answers
5k
views
ZOS: Create first member of dataset
I'm using ZOS with ISPF 7.1
I have allocated a dataset with the following information:
I'm trying to create the first member of this dataset through the Edit Entry Panel (it's option 2 on the menu):
...
3
votes
4
answers
2k
views
Is it possible to use wild characters to delete dataset on z/OS
I want to remove lots of temporary PS datasets with dataset name like MYTEST.**, but still can't find an easy way to handle the task.
I meant to use a Shell command below to remove them
cat "//'...
1
vote
3
answers
2k
views
How to set record length in cURL?
I want to transfer a test file to mainframe, but the test file has lines exceeding 80 characters, which is default for FTP. Because the created dataset has record length 80, I am getting
451-File ...
0
votes
1
answer
592
views
Connect SAS on MAINFRAME to another DB using ODBC
My company has SAS 9.1 on a mainframe. The mainframe also has SAS/CONNECT and SAS/SHARE.
Currently, we use 9.1 SAS for PC to connect to the Sybase database (via a ODBC connection) and we then ...
1
vote
1
answer
1k
views
How to run ftp.bat by pressing vba button in excell?
I am trying to automate data extraction from mainframe and I've tried the solution below but it didn't work. Instead it erased the contents of the FtpLogin2.bat file.
Private Sub Workbook_Open()
Call ...