59 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
48
views
Spark: VSAM File read issue with special character
We have a scenario to read a VSAM file directly along with a copy book to understand the column lengths, we were using COBRIX library as part of spark read.
However, we could the same is not properly ...
0
votes
1
answer
130
views
How to define AIX(alternate index) in CICS FCT entry?
What should the fct entry defining aix in vsam look like?
I searched online but couldn't find any explanation.
0
votes
0
answers
84
views
VSAM file read maven dependency
I get below error when using the maven dependency to read IBM VSAM file. Could someone help?
groupId: com.ibm.jzos
artifactId: ibm.jzos
version: 3.1.3.1
Error:
cannot access com.ibm.jzos.ZFile
bad ...
0
votes
1
answer
65
views
Effective ways to avoid skipping a record
Current Scenario: There is approximately 4.3 million records in the database and I have to migrate the file to an external file record by record. During the migration data will be manipulated a ...
3
votes
0
answers
1k
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 ...
0
votes
2
answers
934
views
How to update vsam file records?
I want to read a VSAM file record using CICS commands and then update it using REWITE command, but I have two major problems:
throu readnext operation to access a vsam record, for some of the ...
0
votes
2
answers
453
views
how to solve INVEREQ error in reading a vsam file?
I want to read all records in a VSAM file using CICS commands. But unfortunately, I encountered error number16 or INVREQ which means ́INVREQ – Read operation not permitted as it is not mentioned in ...
0
votes
1
answer
424
views
How to read a vsam file using CICS
I need to read allrecords in a VSAM file using CICS. So I used STARTBR and then READNEXT function, but I got error number 16 which means ́INVREQ: Read operation not permitted as it is not mentioned ...
0
votes
1
answer
362
views
Delete entire content in a VSAM file
I am trying to delete the entire records in a KSDS VSAM file using CICS command.
But the thing is that the EXEC CICS DELETE will delete just one record. I foundout that there is a GENERIC option that ...
0
votes
2
answers
649
views
READ from VSAM file using CICS
How can I read from a VSAM file continuously?
I have a VSAM file contining some records. I need to read records one by using CICS commands, but I dont know where the file ends.Is there any way to ...
1
vote
1
answer
766
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
570
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
181
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
306
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 ...