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
Explain how can the attributes of one sms dataset be copied to another dataset?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
What is the purpose of dd dummy statement?
What is the significance of addrspc parameter in exec statement?
Differentiate between the joblib and the steplib statements?
How does jcl act on code(if you take a cobol program)?
Is automatic restart possible in jcl? If yes, how?
Is it possible to left uncode disp? If yes, how?
What are steplib and joblib? What for they are used?
Where & How Do You Code Identifier In Jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What parameters can be used to limit the number of records written to a sysout dataset?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How is the record format of an output dataset specified?