Is there a way to check for an empty file in JCL other than
using IEBCOMPR and the command PRINT COUNT(1)?

Answer Posted / mdv

Simple Sort job'll do.

Give PARM='nullout=rc4'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In sms datasets, what is the function of the dd mgmtclas keyword?

853


What is the function of //cntl statement?

826


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1926


how you can direct the data to spool using SYSOUT option?

918


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

730






How to pass the parameter in parm using linkage section ? (syntax)?

643


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

823


What is the purpose of dd * statement in jcl?

793


What is jcl in mainframe?

684


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2093


what operation is performed by job statement?

654


Describe the various parameters utilized in the creation of a gdg?

680


when does a dataset go uncataloged?

824


What is catelog procedure and how many catelog procedure to use in one job?

7436


What is the function of job statement in jcl?

634