¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

casic question


 

Hi Everyone !

I'm starting to learn about MVS, so I try to import data into MVS, to use as input for some tests, with ISAM and VSAM.

Since it's about 30.000 registers, IND$FILE and FTP fail, so I'll try to read it with a virtual tape.

To read my data I know I need a JCl to copy my dataset, from tape to disk.

So I wrote this JCL, to read a small script, from the card reader, into the disk.

Thing is RAKF, does not allow me to write on disk from card reader jobs. ( But it works OK, from a bach inside my MVS USER)

The messages are as follows:

RAKF0005 INVALID ATTEMPT TO ACCESS RESOURCE

RAKF000A PROD ,IEBGENER,DATASET ,HERC03.INPUT.TXT

IEC150I 913-38,IFG0194C,IEBGENER,IEBGENER,SYSUT2,241,PUB010,

IEC150I HERC03.INPUT.TXT

IEF472I IEBGENER IEBGENER - COMPLETION CODE - SYSTEM=913 USER=0000

The script is:

//IEBGENE2 JOB 'LOAD TEXT DATA TO MVS',CLASS=A,MSGCLASS=A
//IEBGENE2 EXEC PGM=IEBGENER,REGION=128K
//SYSIN? ? DD? DUMMY
//SYSPRINT DD? SYSOUT=*
//SYSUT1? ?DD? *
BLA
BLE
? --- your ASCII data from the PC file goes here ---
BLI
//SYSUT2? ?DD? DSN=HERC03.INPUT.TXT,DISP=(NEW,CATLG),
//? ? ? ? ? ? ?UNIT=3350,VOL=SER=PUB010,SPACE=(TRK,(6,6),RLSE),
//? ? ? ? ? ? ?DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//

?

Can someone give me a clue on how to proceed ?

Thanks in advance

Carlos

Join [email protected] to automatically receive all group messages.