how to create a member or sequential dataset through tso
command??

Answers were Sorted based on User's Feedback



how to create a member or sequential dataset through tso command??..

Answer / ram.g

i have tried this ..but its creating a dataset(seq) with
invalid block size...how to mention blksize in that command
and
how to create pds memeber thru tso command..

Is This Answer Correct ?    5 Yes 3 No

how to create a member or sequential dataset through tso command??..

Answer / bella

try this :

DSORG PS RECFM U BLKSIZE 1,944 LRECL 0

Is This Answer Correct ?    5 Yes 3 No

how to create a member or sequential dataset through tso command??..

Answer / nk

TSO ALLOC DD(INFILE) DA(XXX.YYY.ZZZZ) SHR

Is This Answer Correct ?    4 Yes 5 No

how to create a member or sequential dataset through tso command??..

Answer / siddharth

The name that you want to give the new data set: CSYP760.NEW.DATA
The name of the model data set:CSYP760.MODEL.DATA
alloc da(new.data) like(model.data)
alloc da(new.data) dsorg(ps) space(2,0) tracks lrecl(80) + blksize(8000) recfm(f,b) new

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

how can you check if a file is empty using jcl?

0 Answers   IBM,


Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

2 Answers   CTS,


i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??

14 Answers   L&T,


if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


how to create gdg with out using idcams utility

8 Answers   DSRC,






Explain how can return codes be tested before execution of a job step?

0 Answers  


Can we write same stepname for one or more steps in on job ?

2 Answers  


How to do automated restart when a job abend?

0 Answers  


how to convert fb to vb in jcl ?

5 Answers   IBM, Infosys,


i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

2 Answers  


How do you overcome this limitation ?

0 Answers  


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

0 Answers  


Categories