All Questions
31 questions
2
votes
0
answers
837
views
How to run a Cobol application on Hercules mainframe emulator (Terminal 3270)
I am beginner to mainframe applications and want to perform a simple POC for understanding where I want to run a sample Cobol application on Hercules mainframe emulator with terminal 3270, application ...
1
vote
1
answer
664
views
Calculating the record size of alternate index for a VSAM ksds file
In the IBM documentation, the formula to calculate the record size of AIX for a KSDS file is given as
5 + alternate-key length + (n * base cluster's prime-key length)
In my case, the alternate-key ...
0
votes
2
answers
499
views
VSAM file to be updated outside of mainframe
I have a requirement to ensure I can update/delete VSAM file record from outside mainframe. i.e., from a dotnet application.
I definitely looked around online, but didn't find lot of information ...
1
vote
1
answer
152
views
Printing records from a VSAM KSDS shows characters with periods
I am trying to view the contents of a VSAM dataset using the following jcl code:
//REPRO2 JOB REPROJCL
//IDCAMS EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *,SYMBOLS=EXECSYS
...
0
votes
1
answer
288
views
KSDS file - Duplicate key error in Ditto utility
This is my KSDS creation JCL.
000100 //VSAMKSDS JOB CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),PRTY=15,
000200 // NOTIFY=&SYSUID
000300 //STEP10 EXEC ...
2
votes
1
answer
1k
views
File status 39 in VSAM KSDS file
Vsam file creation -
//VSAMKSDS JOB CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),PRTY=15,
// NOTIFY=&SYSUID
//STEP10 EXEC PGM=IDCAMS ...
2
votes
1
answer
2k
views
How to read VSAM files from z/OS using Java?
I am trying to connect to VSAM files in z/OS in Java.
I have tried using VSE Redirector Connector with below code:
package test;
import java.sql.DriverManager;
import java.sql.ResultSetMetaData;
...
0
votes
2
answers
332
views
Browsing VSAM files and DB2 tables using TSQ
I'm finding better ways on browsing VSAM records and DB2 tables in CICS. The current one I'm practicing is by using readnext/prev for browsing VSAM files and using cursors to browse DB2 tables. How ...
0
votes
1
answer
2k
views
How to calculate space allocated to VSAM files
I am creating a tool which will estimated space should be given to the VSAM file based on number of records, record length and block size parameters.
While going through different sources on internet ...
0
votes
0
answers
344
views
Record count and Filename from VSAM Source EBCDIC encoding in Informatica PowerCenter
I need to get the filename and then count the number of records in that VSAM source file in Informatica PowerCenter 10. I had already done similar thing with other flat files in which from the source ...
1
vote
1
answer
233
views
How does PSP (Rocket Software product) improves performance of Mainframe job
Performance Essential (PSP, Rocket Software offering) reduces the CPU time, I/O for a COBOL program program. How can we do it manually without using their product to calculate optimal balance between ...
1
vote
2
answers
3k
views
How to read VSAM file in Python3
I have VSAM file in the unix system. I want to read the file using the layout of that file in the python. Out of the .idx and .dta, I copied .dta to my local machine and tried to read using the below ...
-2
votes
1
answer
378
views
Printing report on a VSAM file
I am making a payslip project using IBM mainframes and I am asked to create a payslip report for an employee every month. This payslip is supposed to be stored into a VSAM file in a format as follows ...
-2
votes
1
answer
852
views
Not able to read next record while browsing KSDS in CICS
I am trying to read a VSAM KSDS file sequentially using STARTBR and READNEXT. I am able to read the 1st record. After processing 1st record, I was expecting the read of 2nd record from the VSAM when ...
0
votes
1
answer
2k
views
Extended VSAM allocation
I have been tasked with a project that requires a VSAM file over the 4GB limit. I am trying to define an extended VSAM using IDCAM, but I cannot find an example or guide to help me. This is how I ...