i have records from 1 t0 100 . i need to open records from 10 to 18 and change the values in tht ? how can i do tht ?
Answers were Sorted based on User's Feedback
Answer / lu
you have 2 ways :
1) go to file-aid, display your file, and modify it ( from
10th to 18th)
2) coding a program cobol, rad file with the counter and
modify from 10th records to 18th)....
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / heman
I believe there are other options too for this.
1. Write a rexx program
2. Write an ezytrieve
3. SORT utility too can help if the position of the field
in the record is known for edit.
| Is This Answer Correct ? | 0 Yes | 1 No |
Given a input file with duplicates how to remove the duplicate records from the file using JCL?
6 Answers CDS, Convergys, TCS,
how can we override data definitions in jcl. can any one give detailed example
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
How many types we can give input to JCL
What does the TIME parameter signify ? What does TIME=1440 mean ?
i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?
what is mainframe?
How to skip first step of a job? Can we use COND on the first step?
How many types of libraries are there in JCL ?
Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.