In a JCL job, you need to generate variable-length records with a specific character set using the IEBDG utility. How would you configure the utility to achieve this?

  • Set the RECORD option to specify variable-length records, and use the CHARSET option to define the character set
  • Use the SIZE parameter to specify the dataset size, and the CHARSET option to define the character set
  • Specify DCB parameters for the output dataset, provide the record length and number of records
  • Use the RANDOM option for random data generation, and specify the character set using the CHARSET option
Option 1 is correct. Setting the RECORD option to variable-length and defining the character set with CHARSET achieves the required task.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *