We are trying to create a template (web service) with Jumpstart in V6R1
We always have the same compilation problem RNF7701.
I send a PDF with the whole process
Compilation problems with jumpstart webservice RNF7701
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Compilation problems with jumpstart webservice RNF7701
- Attachments
-
- ERROR COMPILE RNF7701.pdf
- (284.45 KiB) Downloaded 244 times
- Emily
- Profound Logic Staff Member
- Posts: 89
- Joined: Tue Jun 21, 2016 8:30 am
- First Name: Emily
- Last Name: Seage
- Company Name: Profound Logic
- Contact:
Re: Compilation problems with jumpstart webservice RNF7701
Hi Jose,
Can you make sure that the library list in JumpStart is correct? You're most likely receiving this error because the library that you are compiling your program and display file into is not included in your library list. When this happens, the compiler isn't able to find the display file when trying to compile the RPG program, which causes a compilation error.
If you add your library (PRUEBAEGL) to the library list in JumpStart and then try generating your application again, this should work properly for you. To change your library list in JumpStart, you can simply select the 'Modify Library List' link.
I hope that this helps!
Can you make sure that the library list in JumpStart is correct? You're most likely receiving this error because the library that you are compiling your program and display file into is not included in your library list. When this happens, the compiler isn't able to find the display file when trying to compile the RPG program, which causes a compilation error.
If you add your library (PRUEBAEGL) to the library list in JumpStart and then try generating your application again, this should work properly for you. To change your library list in JumpStart, you can simply select the 'Modify Library List' link.
I hope that this helps!
Emily Seage
Support Team Lead
Support Team Lead
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Compilation problems with jumpstart webservice RNF7701
you see, I'm a RPG programmer of the ancient
What you have indicated to me, I believe that I come to understand. but it does not work.
is V6R1m0 version possible? some PTF ??
problems of qualification of objects, procedures ??
the truth I just want to now serve an XML or JSON and step consume
I have researched Scott but it is very complex, I thought that profoundui would give me those solutions, but I do not see examples and Jumpstart does not work for me.
I know that Node.js is necessary but step by step
I'll pass other PDFs with the ERROR
What you have indicated to me, I believe that I come to understand. but it does not work.
is V6R1m0 version possible? some PTF ??
problems of qualification of objects, procedures ??
the truth I just want to now serve an XML or JSON and step consume
I have researched Scott but it is very complex, I thought that profoundui would give me those solutions, but I do not see examples and Jumpstart does not work for me.
I know that Node.js is necessary but step by step
I'll pass other PDFs with the ERROR
- Attachments
-
- Mas de lo mismo.pdf
- (166.25 KiB) Downloaded 294 times
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Compilation problems with jumpstart webservice RNF7701
any ideas ?? Thank you
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Compilation problems with jumpstart webservice RNF7701
This error (RNF7701) is not related to the library list.
It means that the RPG opcode is not compatable with the data structure that was used. As with any RPG compile error, you can learn more about it by looking at the compile listing. Here is the error message copy/pasted from the compile listing:
So the problem is that the HEADER data strucuture (which was defined with *ALL) cannot be used with the WRITE or READ opcode. The details of message RNF7701 tell you to use *INPUT for reads, and *OUTPUT for writes.
My guess is that the feature that allowed *ALL to be used with any opcode wasn't available in V6R1, but was added in a later release. This is only a guess, I cannot find documentation about when that feature was added.
Jose, consider changing that template to use code that works on old releases. Or, if you wish Profound to help, report this as a bug.
It means that the RPG opcode is not compatable with the data structure that was used. As with any RPG compile error, you can learn more about it by looking at the compile listing. Here is the error message copy/pasted from the compile listing:
This tells me that the error is occuring on lines 73 and 78. Here is the source for those lines:*RNF7701 30 000073 La estructura de datos HEADER no se permite para la operación.
*RNF7701 30 000078 La estructura de datos HEADER no se permite para la operación.
Code: Select all
D Header DS LikeRec(DisplyFile.Header:*ALL)
73 --> Write DisplyFile.Header Header;
78 --> Read DisplyFile.Header Header;
My guess is that the feature that allowed *ALL to be used with any opcode wasn't available in V6R1, but was added in a later release. This is only a guess, I cannot find documentation about when that feature was added.
Jose, consider changing that template to use code that works on old releases. Or, if you wish Profound to help, report this as a bug.
-
- Profound User
- Posts: 39
- Joined: Mon Aug 21, 2017 11:48 am
- First Name: Jose
- Last Name: hernandez Guerra
- Company Name: CM de gestion y servicios S.L.
- Phone: 638489712
- Address 1: CL Jose Luis de Cassos 50
- City: Sevilla
- State / Province: Outside Canada/USA
- Zip / Postal Code: 41005
- Country: Spain
- Contact:
Re: Compilation problems with jumpstart webservice RNF7701
https://www.ibm.com/support/knowledgece ... r2post.htm
Relaxed rules for data structures for I/O operations
An externally-described data structure or LIKEREC data structure defined with type *ALL can be used as the result data structure for any I/O operation
According to IBM it is no longer 7.1 is from 7.2 as it seems.
Please at least indicate in which version you can do things with jumpstart-
There are still many machines in V6R1. the only thing that can be done with jumpstart
It is a simple subfile and a little more and interesting as web services and what is
what we need the old ILERPG. because it forces us to other alternatives
either the integrated web service or your YAJL or similar.
I want to use Profoundui for that and invested in it.
If I'm wrong, maybe it's possible. you are praised
Sorry if my post is a bit aggressive
Thank you for your great Master
Relaxed rules for data structures for I/O operations
An externally-described data structure or LIKEREC data structure defined with type *ALL can be used as the result data structure for any I/O operation
According to IBM it is no longer 7.1 is from 7.2 as it seems.
Please at least indicate in which version you can do things with jumpstart-
There are still many machines in V6R1. the only thing that can be done with jumpstart
It is a simple subfile and a little more and interesting as web services and what is
what we need the old ILERPG. because it forces us to other alternatives
either the integrated web service or your YAJL or similar.
I want to use Profoundui for that and invested in it.
If I'm wrong, maybe it's possible. you are praised
Sorry if my post is a bit aggressive
Thank you for your great Master
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Compilation problems with jumpstart webservice RNF7701
So, you have three possibilities:
1. You can change the code that JumpStart generates by changing the template.
2. You don't have to use JumpStart for web services at all, JumpStart is just a code generator, you can write your own code without it.
3. You can report this to Profound Logic and ask them to fix it.
1. You can change the code that JumpStart generates by changing the template.
2. You don't have to use JumpStart for web services at all, JumpStart is just a code generator, you can write your own code without it.
3. You can report this to Profound Logic and ask them to fix it.
Who is online
Users browsing this forum: No registered users and 0 guests